#C771DB#C771DB

#C771DB is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.3% C 0.173 H 319.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#C771DB
RGBrgb(199, 113, 219)
HSLhsl(289, 60%, 65%)
HSVhsv(289, 48%, 86%)
CMYKcmyk(9.1%, 48.4%, 0%, 14.1%)
CIE-LABlab(60.84, 50.36, -40.45)
CIE-LCHlch(60.84, 64.59, 321.23°)
OKLaboklab(68.33% 0.1326 -0.1119)
OKLCHoklch(68.33% 0.173 319.8)
XYZxyz(42.2429, 29.0684, 70.3897)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771DB #85DB71
analogous
#9271DB #C771DB #DB71BA
triadic
#C771DB #DBC771 #71DBC7
tetradic
#C771DB #DB9271 #85DB71 #71BADB
square
#C771DB #DB9271 #85DB71 #71BADB
split-complementary
#C771DB #BADB71 #71DB92
monochromatic
#902AA7 #B440CF #C771DB #DAA2E7 #EED3F4

Accessibility & contrast

On white

3.08
#C771DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#C771DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C771DB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771DB#FFFFFF#000000##000000
##C771DB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDF
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#C87F9C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c771db;
/* rgb */ color: rgb(199, 113, 219);
/* oklch */ color: oklch(68.3% 0.173 319.8);
Tailwind
colors: {
  custom: {
    50: '#da9ce6',
    500: '#c771db',
    950: '#000000',
  },
}
SCSS
$custom: #c771db;
$custom-light: #da9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#c771db",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 288.679,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68328,
    "c": 0.17348,
    "h": 319.8
  },
  "luminance": 0.29067
}

Semantic roles & 50–950 ramp

primary
#C771DB
secondary
#C9E6C2
accent
#C71E3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C771DB

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

Preview Lab → · Contrast checker → · Palette generator →

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