#C771EC#C771EC

#C771EC is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.2% C 0.191 H 314.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#C771EC
RGBrgb(199, 113, 236)
HSLhsl(282, 76%, 68%)
HSVhsv(282, 52%, 93%)
CMYKcmyk(15.7%, 52.1%, 0%, 7.5%)
CIE-LABlab(61.66, 53.78, -48.64)
CIE-LCHlch(61.66, 72.51, 317.87°)
OKLaboklab(69.2% 0.1345 -0.1356)
OKLCHoklch(69.2% 0.191 314.8)
XYZxyz(44.5962, 30.0098, 82.7839)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771EC #96EC71
analogous
#8971EC #C771EC #EC71D4
triadic
#C771EC #ECC771 #71ECC7
tetradic
#C771EC #EC8971 #96EC71 #71D4EC
square
#C771EC #EC8971 #96EC71 #71D4EC
split-complementary
#C771EC #D4EC71 #71EC89
monochromatic
#941BC8 #B23BE5 #C771EC #DCA7F3 #F2DDFA

Accessibility & contrast

On white

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

On black

7.00
#C771EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C771EC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771EC#FFFFFF#000000##000000
##C771EC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#7097E9
Tritanopia (blue-blind)
#C485A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c771ec;
/* rgb */ color: rgb(199, 113, 236);
/* oklch */ color: oklch(69.2% 0.191 314.8);
Tailwind
colors: {
  custom: {
    50: '#da9df2',
    500: '#c771ec',
    950: '#000000',
  },
}
SCSS
$custom: #c771ec;
$custom-light: #da9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c771ec",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 281.951,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69202,
    "c": 0.19102,
    "h": 314.8
  },
  "luminance": 0.30008
}

Semantic roles & 50–950 ramp

primary
#C771EC
secondary
#D5EFCA
accent
#D90D4A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C771EC

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

Preview Lab → · Contrast checker → · Palette generator →

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