#CF5DCA#CF5DCA

#CF5DCA is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.194 H 329.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CF5DCA
RGBrgb(207, 93, 202)
HSLhsl(303, 54%, 59%)
HSVhsv(303, 55%, 81%)
CMYKcmyk(0%, 55.1%, 2.4%, 18.8%)
CIE-LABlab(57.43, 59.16, -36.12)
CIE-LCHlch(57.43, 69.32, 328.59°)
OKLaboklab(65.77% 0.1664 -0.0991)
OKLCHoklch(65.77% 0.194 329.2)
XYZxyz(40.3067, 25.3609, 58.6378)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DCA #5DCF62
analogous
#9B5DCF #CF5DCA #CF5D91
triadic
#CF5DCA #CACF5D #5DCACF
tetradic
#CF5DCA #CF9B5D #5DCF62 #5D91CF
square
#CF5DCA #CF9B5D #5DCF62 #5D91CF
split-complementary
#CF5DCA #91CF5D #5DCF9B
monochromatic
#892985 #B837B3 #CF5DCA #DD8CD9 #EBBBE9

Accessibility & contrast

On white

3.46
#CF5DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CF5DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DCA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DCA#FFFFFF#000000##000000
##CF5DCA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#788FC7
Tritanopia (blue-blind)
#D6698B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5dca;
/* rgb */ color: rgb(207, 93, 202);
/* oklch */ color: oklch(65.8% 0.194 329.2);
Tailwind
colors: {
  custom: {
    50: '#e090da',
    500: '#cf5dca',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dca;
$custom-light: #e090da;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dca",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 302.632,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65769,
    "c": 0.19367,
    "h": 329.2
  },
  "luminance": 0.25358
}

Semantic roles & 50–950 ramp

primary
#CF5DCA
secondary
#ADDAAF
accent
#DE514A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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