#CF5FC8#CF5FC8

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

Color values

HEX#CF5FC8
RGBrgb(207, 95, 200)
HSLhsl(304, 54%, 59%)
HSVhsv(304, 54%, 81%)
CMYKcmyk(0%, 54.1%, 3.4%, 18.8%)
CIE-LABlab(57.68, 57.90, -34.59)
CIE-LCHlch(57.68, 67.44, 329.14°)
OKLaboklab(65.92% 0.1635 -0.0947)
OKLCHoklch(65.92% 0.189 329.9)
XYZxyz(40.2493, 25.6225, 57.4580)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FC8 #5FCF66
analogous
#9E5FCF #CF5FC8 #CF5F90
triadic
#CF5FC8 #C8CF5F #5FC8CF
tetradic
#CF5FC8 #CF9E5F #5FCF66 #5F90CF
square
#CF5FC8 #CF9E5F #5FCF66 #5F90CF
split-complementary
#CF5FC8 #90CF5F #5FCF9E
monochromatic
#8A2984 #B938B1 #CF5FC8 #DD8ED8 #EBBDE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5FC8#FFFFFF#000000##000000
##CF5FC81.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)
#5881CB
Deuteranopia (green-blind)
#7A90C5
Tritanopia (blue-blind)
#D66A8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf5fc8;
/* rgb */ color: rgb(207, 95, 200);
/* oklch */ color: oklch(65.9% 0.189 329.9);
Tailwind
colors: {
  custom: {
    50: '#e091d9',
    500: '#cf5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fc8;
$custom-light: #e091d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fc8",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 303.75,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65924,
    "c": 0.18894,
    "h": 329.9
  },
  "luminance": 0.2562
}

Semantic roles & 50–950 ramp

primary
#CF5FC8
secondary
#AFDBB2
accent
#DD544B
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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