#CF5CD8#CF5CD8

#CF5CD8 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.3% C 0.207 H 324.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CF5CD8
RGBrgb(207, 92, 216)
HSLhsl(296, 61%, 60%)
HSVhsv(296, 57%, 85%)
CMYKcmyk(4.2%, 57.4%, 0%, 15.3%)
CIE-LABlab(57.92, 62.06, -43.28)
CIE-LCHlch(57.92, 75.66, 325.11°)
OKLaboklab(66.35% 0.1691 -0.1198)
OKLCHoklch(66.35% 0.207 324.7)
XYZxyz(41.9529, 25.8799, 67.7380)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CD8 #65D85C
analogous
#915CD8 #CF5CD8 #D85CA3
triadic
#CF5CD8 #D8CF5C #5CD8CF
tetradic
#CF5CD8 #D8915C #65D85C #5CA3D8
square
#CF5CD8 #D8915C #65D85C #5CA3D8
split-complementary
#CF5CD8 #A3D85C #5CD891
monochromatic
#8D2496 #BC30C7 #CF5CD8 #DE8DE4 #ECBFF0

Accessibility & contrast

On white

3.40
#CF5CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CF5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CD8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CD8#FFFFFF#000000##000000
##CF5CD81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DC
Deuteranopia (green-blind)
#7190D5
Tritanopia (blue-blind)
#D36D92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf5cd8;
/* rgb */ color: rgb(207, 92, 216);
/* oklch */ color: oklch(66.3% 0.207 324.7);
Tailwind
colors: {
  custom: {
    50: '#e190e4',
    500: '#cf5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cd8;
$custom-light: #e190e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cd8",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 295.645,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6635,
    "c": 0.20724,
    "h": 324.7
  },
  "luminance": 0.25878
}

Semantic roles & 50–950 ramp

primary
#CF5CD8
secondary
#B4E0B0
accent
#C91C29
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CF5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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