#C771EA#C771EA

#C771EA is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.1% C 0.189 H 315.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C771EA
RGBrgb(199, 113, 234)
HSLhsl(283, 74%, 68%)
HSVhsv(283, 52%, 92%)
CMYKcmyk(15%, 51.7%, 0%, 8.2%)
CIE-LABlab(61.56, 53.37, -47.69)
CIE-LCHlch(61.56, 71.57, 318.22°)
OKLaboklab(69.1% 0.1343 -0.1329)
OKLCHoklch(69.1% 0.189 315.3)
XYZxyz(44.3073, 29.8942, 81.2621)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771EA #94EA71
analogous
#8B71EA #C771EA #EA71D0
triadic
#C771EA #EAC771 #71EAC7
tetradic
#C771EA #EA8B71 #94EA71 #71D0EA
square
#C771EA #EA8B71 #94EA71 #71D0EA
split-complementary
#C771EA #D0EA71 #71EA8B
monochromatic
#931DC4 #B23CE2 #C771EA #DCA6F2 #F1DCFA

Accessibility & contrast

On white

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

On black

6.98
#C771EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C771EA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771EA#FFFFFF#000000##000000
##C771EA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#C584A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c771ea;
/* rgb */ color: rgb(199, 113, 234);
/* oklch */ color: oklch(69.1% 0.189 315.3);
Tailwind
colors: {
  custom: {
    50: '#da9df1',
    500: '#c771ea',
    950: '#000000',
  },
}
SCSS
$custom: #c771ea;
$custom-light: #da9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c771ea",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 282.645,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.18893,
    "h": 315.3
  },
  "luminance": 0.29893
}

Semantic roles & 50–950 ramp

primary
#C771EA
secondary
#D4EEC9
accent
#D60F49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C771EA

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

Preview Lab → · Contrast checker → · Palette generator →

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