#C771FA#C771FA

#C771FA is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.0% C 0.206 H 311.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C771FA
RGBrgb(199, 113, 250)
HSLhsl(278, 93%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20.4%, 54.8%, 0%, 2%)
CIE-LABlab(62.39, 56.71, -55.24)
CIE-LCHlch(62.39, 79.16, 315.75°)
OKLaboklab(69.97% 0.1355 -0.1549)
OKLCHoklch(69.97% 0.206 311.2)
XYZxyz(46.7105, 30.8555, 93.9190)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771FA #A4FA71
analogous
#8271FA #C771FA #FA71E9
triadic
#C771FA #FAC771 #71FAC7
tetradic
#C771FA #FA8271 #A4FA71 #71E9FA
square
#C771FA #FA8271 #A4FA71 #71E9FA
split-complementary
#C771FA #E9FA71 #71FA82
monochromatic
#9508E8 #B036F8 #C771FA #DEACFC #F3E1FE

Accessibility & contrast

On white

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

On black

7.17
#C771FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C771FA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771FA#FFFFFF#000000##000000
##C771FA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#C189AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c771fa;
/* rgb */ color: rgb(199, 113, 250);
/* oklch */ color: oklch(70.0% 0.206 311.2);
Tailwind
colors: {
  custom: {
    50: '#db9dfc',
    500: '#c771fa',
    950: '#000000',
  },
}
SCSS
$custom: #c771fa;
$custom-light: #db9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c771fa",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 277.664,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.20575,
    "h": 311.2
  },
  "luminance": 0.30854
}

Semantic roles & 50–950 ramp

primary
#C771FA
secondary
#DFF5D1
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C771FA

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

Preview Lab → · Contrast checker → · Palette generator →

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