#C170BC

A color in the Purple, Crimson, Magenta family

#c170bc is a color in the Purple, Crimson, Magenta family: RGB(193, 112, 188), HSL(304°, 40%, 60%), CMYK(0%, 42%, 3%, 24%). Closest named color: orchid. Contrast is 3.33:1 on white and 6.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c170bc
RGBrgb(193 112 188)
RGB (legacy)rgb(193, 112, 188)
RGB %rgb(76% 44% 74%)
HSLhsl(304 40% 60%)
HSV / HSBhsv(304, 42%, 76%)
HWBhwb(304 44% 24%)
CMYKcmyk(0%, 42%, 3%, 24%)
CIELAB (D50)lab(58.54 41.04 -26.25)
LCHlch(58.54 48.71 327.4)
OKLaboklab(0.6603 0.1214 -0.0721)
OKLCHoklch(0.6603 0.1412 329.28)
Decimal12677308

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 5.8
Closest web-safe color#cc66cc
Hue304°
Saturation (HSL / HSV)40% / 42%
Lightness (HSL)60%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)57% / 53%
Relative luminance (WCAG)0.2656
Red / Green / Blue193 / 112 / 188

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.31:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 60.4 / -41.3 · As background with white / black text: Lc -65.9 / 43.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c170bc;
  --color-brand-oklch: oklch(66.03% 0.1412 329.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(193 112 188 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c170bc] text-[#c170bc] border-[#c170bc]">