#CF5DCF#CF5DCF

#CF5DCF is a light, vivid purple. Relative luminance 0.256; OKLCH L 66.0% C 0.198 H 327.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CF5DCF
RGBrgb(207, 93, 207)
HSLhsl(300, 54%, 59%)
HSVhsv(300, 55%, 81%)
CMYKcmyk(0%, 55.1%, 0%, 18.8%)
CIE-LABlab(57.66, 60.02, -38.60)
CIE-LCHlch(57.66, 71.36, 327.25°)
OKLaboklab(66.01% 0.167 -0.1063)
OKLCHoklch(66.01% 0.198 327.5)
XYZxyz(40.9083, 25.6016, 61.8063)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DCF #5DCF5D
analogous
#965DCF #CF5DCF #CF5D96
triadic
#CF5DCF #CFCF5D #5DCFCF
tetradic
#CF5DCF #CF965D #5DCF5D #5D96CF
square
#CF5DCF #CF965D #5DCF5D #5D96CF
split-complementary
#CF5DCF #96CF5D #5DCF96
monochromatic
#892989 #B837B8 #CF5DCF #DD8CDD #EBBBEB

Accessibility & contrast

On white

3.43
#CF5DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CF5DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DCF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DCF#FFFFFF#000000##000000
##CF5DCF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D3
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#D56A8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5dcf;
/* rgb */ color: rgb(207, 93, 207);
/* oklch */ color: oklch(66.0% 0.198 327.5);
Tailwind
colors: {
  custom: {
    50: '#e090de',
    500: '#cf5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dcf;
$custom-light: #e090de;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dcf",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66014,
    "c": 0.19793,
    "h": 327.5
  },
  "luminance": 0.25599
}

Semantic roles & 50–950 ramp

primary
#CF5DCF
secondary
#ADDAAD
accent
#DE4A4A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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