#C771FC#C771FC

#C771FC is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.1% C 0.208 H 310.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C771FC
RGBrgb(199, 113, 252)
HSLhsl(277, 96%, 72%)
HSVhsv(277, 55%, 99%)
CMYKcmyk(21%, 55.2%, 0%, 1.2%)
CIE-LABlab(62.49, 57.13, -56.17)
CIE-LCHlch(62.49, 80.12, 315.49°)
OKLaboklab(70.08% 0.1356 -0.1576)
OKLCHoklch(70.08% 0.208 310.7)
XYZxyz(47.0257, 30.9816, 95.5794)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771FC #A6FC71
analogous
#8271FC #C771FC #FC71EC
triadic
#C771FC #FCC771 #71FCC7
tetradic
#C771FC #FC8271 #A6FC71 #71ECFC
square
#C771FC #FC8271 #A6FC71 #71ECFC
split-complementary
#C771FC #ECFC71 #71FC82
monochromatic
#9505EE #AF35FB #C771FC #DFADFD #F3E1FE

Accessibility & contrast

On white

2.92
#C771FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C771FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C771FC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771FC#FFFFFF#000000##000000
##C771FC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#C18AAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c771fc;
/* rgb */ color: rgb(199, 113, 252);
/* oklch */ color: oklch(70.1% 0.208 310.7);
Tailwind
colors: {
  custom: {
    50: '#db9dfe',
    500: '#c771fc',
    950: '#000000',
  },
}
SCSS
$custom: #c771fc;
$custom-light: #db9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c771fc",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 277.122,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.20787,
    "h": 310.7
  },
  "luminance": 0.30981
}

Semantic roles & 50–950 ramp

primary
#C771FC
secondary
#E0F6D3
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C771FC

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

Preview Lab → · Contrast checker → · Palette generator →

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