#CF77DB#CF77DB

#CF77DB is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.1% C 0.168 H 322.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CF77DB
RGBrgb(207, 119, 219)
HSLhsl(293, 58%, 66%)
HSVhsv(293, 46%, 86%)
CMYKcmyk(5.5%, 45.7%, 0%, 14.1%)
CIE-LABlab(62.99, 49.55, -37.02)
CIE-LCHlch(62.99, 61.85, 323.24°)
OKLaboklab(70.13% 0.1335 -0.1019)
OKLCHoklch(70.13% 0.168 322.6)
XYZxyz(45.1138, 31.5754, 70.7224)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF77DB #83DB77
analogous
#9D77DB #CF77DB #DB77B5
triadic
#CF77DB #DBCF77 #77DBCF
tetradic
#CF77DB #DB9D77 #83DB77 #77B5DB
square
#CF77DB #DB9D77 #83DB77 #77B5DB
split-complementary
#CF77DB #B5DB77 #77DB9D
monochromatic
#9B2DAA #BE47CE #CF77DB #E0A7E8 #F1D8F5

Accessibility & contrast

On white

2.87
#CF77DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CF77DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF77DB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF77DB#FFFFFF#000000##000000
##CF77DB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#D2839F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf77db;
/* rgb */ color: rgb(207, 119, 219);
/* oklch */ color: oklch(70.1% 0.168 322.6);
Tailwind
colors: {
  custom: {
    50: '#dfa1e6',
    500: '#cf77db',
    950: '#000000',
  },
}
SCSS
$custom: #cf77db;
$custom-light: #dfa1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf77db",
  "rgb": {
    "r": 207,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 292.8,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.16793,
    "h": 322.6
  },
  "luminance": 0.31574
}

Semantic roles & 50–950 ramp

primary
#CF77DB
secondary
#CAE7C7
accent
#C62034
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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