#CD77DF#CD77DF

#CD77DF is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.1% C 0.171 H 320.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CD77DF
RGBrgb(205, 119, 223)
HSLhsl(290, 62%, 67%)
HSVhsv(290, 47%, 87%)
CMYKcmyk(8.1%, 46.6%, 0%, 12.5%)
CIE-LABlab(62.93, 49.75, -39.36)
CIE-LCHlch(62.93, 63.44, 321.65°)
OKLaboklab(70.09% 0.1318 -0.1087)
OKLCHoklch(70.09% 0.171 320.5)
XYZxyz(45.0913, 31.5022, 73.5030)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD77DF #89DF77
analogous
#9977DF #CD77DF #DF77BD
triadic
#CD77DF #DFCD77 #77DFCD
tetradic
#CD77DF #DF9977 #89DF77 #77BDDF
square
#CD77DF #DF9977 #89DF77 #77BDDF
split-complementary
#CD77DF #BDDF77 #77DF99
monochromatic
#9A2AB2 #BB45D3 #CD77DF #DFA9EB #F1DAF6

Accessibility & contrast

On white

2.88
#CD77DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CD77DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD77DF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD77DF#FFFFFF#000000##000000
##CD77DF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E3
Deuteranopia (green-blind)
#809BDC
Tritanopia (blue-blind)
#CE85A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd77df;
/* rgb */ color: rgb(205, 119, 223);
/* oklch */ color: oklch(70.1% 0.171 320.5);
Tailwind
colors: {
  custom: {
    50: '#dea1e9',
    500: '#cd77df',
    950: '#000000',
  },
}
SCSS
$custom: #cd77df;
$custom-light: #dea1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd77df",
  "rgb": {
    "r": 205,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 289.615,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70093,
    "c": 0.17084,
    "h": 320.5
  },
  "luminance": 0.31501
}

Semantic roles & 50–950 ramp

primary
#CD77DF
secondary
#CEE9C8
accent
#CA1C3A
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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