#C771F9#C771F9

#C771F9 is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.205 H 311.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C771F9
RGBrgb(199, 113, 249)
HSLhsl(278, 92%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20.1%, 54.6%, 0%, 2.4%)
CIE-LABlab(62.33, 56.49, -54.77)
CIE-LCHlch(62.33, 78.68, 315.89°)
OKLaboklab(69.91% 0.1354 -0.1535)
OKLCHoklch(69.91% 0.205 311.4)
XYZxyz(46.5541, 30.7929, 93.0954)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771F9 #A3F971
analogous
#8371F9 #C771F9 #F971E7
triadic
#C771F9 #F9C771 #71F9C7
tetradic
#C771F9 #F98371 #A3F971 #71E7F9
square
#C771F9 #F98371 #A3F971 #71E7F9
split-complementary
#C771F9 #E7F971 #71F983
monochromatic
#950AE6 #B036F7 #C771F9 #DEACFB #F3E2FE

Accessibility & contrast

On white

2.93
#C771F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#C771F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C771F9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771F9#FFFFFF#000000##000000
##C771F91.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#6798F6
Tritanopia (blue-blind)
#C189AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c771f9;
/* rgb */ color: rgb(199, 113, 249);
/* oklch */ color: oklch(69.9% 0.205 311.4);
Tailwind
colors: {
  custom: {
    50: '#db9dfc',
    500: '#c771f9',
    950: '#000000',
  },
}
SCSS
$custom: #c771f9;
$custom-light: #db9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c771f9",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 277.941,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.20469,
    "h": 311.4
  },
  "luminance": 0.30792
}

Semantic roles & 50–950 ramp

primary
#C771F9
secondary
#DEF5D1
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C771F9

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

Preview Lab → · Contrast checker → · Palette generator →

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