#C771CB#C771CB

#C771CB is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.6% C 0.158 H 325.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#C771CB
RGBrgb(199, 113, 203)
HSLhsl(297, 46%, 62%)
HSVhsv(297, 44%, 80%)
CMYKcmyk(2%, 44.3%, 0%, 20.4%)
CIE-LABlab(60.13, 47.29, -32.55)
CIE-LCHlch(60.13, 57.41, 325.46°)
OKLaboklab(67.56% 0.1299 -0.0892)
OKLCHoklch(67.56% 0.158 325.5)
XYZxyz(40.2369, 28.2660, 59.8248)
Luminance0.2826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771CB #75CB71
analogous
#9A71CB #C771CB #CB71A2
triadic
#C771CB #CBC771 #71CBC7
tetradic
#C771CB #CB9A71 #75CB71 #71A2CB
square
#C771CB #CB9A71 #75CB71 #71A2CB
split-complementary
#C771CB #A2CB71 #71CB9A
monochromatic
#8A348E #B544BB #C771CB #D99EDB #EACBEC

Accessibility & contrast

On white

3.16
#C771CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#C771CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C771CB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771CB#FFFFFF#000000##000000
##C771CB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#CB7B95
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c771cb;
/* rgb */ color: rgb(199, 113, 203);
/* oklch */ color: oklch(67.6% 0.158 325.5);
Tailwind
colors: {
  custom: {
    50: '#da9cdb',
    500: '#c771cb',
    950: '#000000',
  },
}
SCSS
$custom: #c771cb;
$custom-light: #da9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c771cb",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 297.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67564,
    "c": 0.15763,
    "h": 325.5
  },
  "luminance": 0.28264
}

Semantic roles & 50–950 ramp

primary
#C771CB
secondary
#BDDCBB
accent
#BA2C32
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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