#C771EB#C771EB

#C771EB is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.190 H 315.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C771EB
RGBrgb(199, 113, 235)
HSLhsl(282, 75%, 68%)
HSVhsv(282, 52%, 92%)
CMYKcmyk(15.3%, 51.9%, 0%, 7.8%)
CIE-LABlab(61.61, 53.57, -48.16)
CIE-LCHlch(61.61, 72.04, 318.04°)
OKLaboklab(69.15% 0.1344 -0.1342)
OKLCHoklch(69.15% 0.19 315)
XYZxyz(44.4513, 29.9518, 82.0209)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771EB #95EB71
analogous
#8A71EB #C771EB #EB71D2
triadic
#C771EB #EBC771 #71EBC7
tetradic
#C771EB #EB8A71 #95EB71 #71D2EB
square
#C771EB #EB8A71 #95EB71 #71D2EB
split-complementary
#C771EB #D2EB71 #71EB8A
monochromatic
#941CC6 #B23BE3 #C771EB #DCA7F3 #F1DCFA

Accessibility & contrast

On white

3.00
#C771EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C771EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C771EB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771EB#FFFFFF#000000##000000
##C771EB1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#C584A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c771eb;
/* rgb */ color: rgb(199, 113, 235);
/* oklch */ color: oklch(69.1% 0.190 315.0);
Tailwind
colors: {
  custom: {
    50: '#da9df2',
    500: '#c771eb',
    950: '#000000',
  },
}
SCSS
$custom: #c771eb;
$custom-light: #da9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c771eb",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 282.295,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69149,
    "c": 0.18997,
    "h": 315
  },
  "luminance": 0.29951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C771EB

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

Preview Lab → · Contrast checker → · Palette generator →

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