#C277DC#C277DC

#C277DC is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.7% C 0.162 H 316.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C277DC
RGBrgb(194, 119, 220)
HSLhsl(285, 59%, 66%)
HSVhsv(285, 46%, 86%)
CMYKcmyk(11.8%, 45.9%, 0%, 13.7%)
CIE-LABlab(61.51, 46.03, -40.00)
CIE-LCHlch(61.51, 60.98, 319.00°)
OKLaboklab(68.71% 0.1185 -0.1108)
OKLCHoklch(68.71% 0.162 316.9)
XYZxyz(41.7614, 29.8316, 71.2545)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277DC #91DC77
analogous
#9077DC #C277DC #DC77C4
triadic
#C277DC #DCC277 #77DCC2
tetradic
#C277DC #DC9077 #91DC77 #77C4DC
square
#C277DC #DC9077 #91DC77 #77C4DC
split-complementary
#C277DC #C4DC77 #77DC90
monochromatic
#8B2CAC #AC46CF #C277DC #D8A8E9 #EED8F5

Accessibility & contrast

On white

3.01
#C277DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#C277DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C277DC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C277DC#FFFFFF#000000##000000
##C277DC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E0
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#C1859F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c277dc;
/* rgb */ color: rgb(194, 119, 220);
/* oklch */ color: oklch(68.7% 0.162 316.9);
Tailwind
colors: {
  custom: {
    50: '#d6a0e7',
    500: '#c277dc',
    950: '#000000',
  },
}
SCSS
$custom: #c277dc;
$custom-light: #d6a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c277dc",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 284.554,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6871,
    "c": 0.1622,
    "h": 316.9
  },
  "luminance": 0.2983
}

Semantic roles & 50–950 ramp

primary
#C277DC
secondary
#CFE8C7
accent
#C71F4A
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C277DC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C277DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva