#C771EF#C771EF

#C771EF is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.194 H 314.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#C771EF
RGBrgb(199, 113, 239)
HSLhsl(281, 80%, 69%)
HSVhsv(281, 53%, 94%)
CMYKcmyk(16.7%, 52.7%, 0%, 6.3%)
CIE-LABlab(61.81, 54.40, -50.06)
CIE-LCHlch(61.81, 73.93, 317.37°)
OKLaboklab(69.36% 0.1348 -0.1398)
OKLCHoklch(69.36% 0.194 314)
XYZxyz(45.0357, 30.1856, 85.0986)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771EF #99EF71
analogous
#8871EF #C771EF #EF71D8
triadic
#C771EF #EFC771 #71EFC7
tetradic
#C771EF #EF8871 #99EF71 #71D8EF
square
#C771EF #EF8871 #99EF71 #71D8EF
split-complementary
#C771EF #D8EF71 #71EF88
monochromatic
#9417CE #B13AE9 #C771EF #DDA8F5 #F2DFFB

Accessibility & contrast

On white

2.98
#C771EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#C771EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C771EF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771EF#FFFFFF#000000##000000
##C771EF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#C485A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c771ef;
/* rgb */ color: rgb(199, 113, 239);
/* oklch */ color: oklch(69.4% 0.194 314.0);
Tailwind
colors: {
  custom: {
    50: '#da9df5',
    500: '#c771ef',
    950: '#000000',
  },
}
SCSS
$custom: #c771ef;
$custom-light: #da9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c771ef",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 280.952,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.19415,
    "h": 314
  },
  "luminance": 0.30184
}

Semantic roles & 50–950 ramp

primary
#C771EF
secondary
#D7F0CB
accent
#DC094C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C771EF

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

Preview Lab → · Contrast checker → · Palette generator →

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