#CF5ED8#CF5ED8

#CF5ED8 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.6% C 0.204 H 324.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CF5ED8
RGBrgb(207, 94, 216)
HSLhsl(296, 61%, 61%)
HSVhsv(296, 56%, 85%)
CMYKcmyk(4.2%, 56.5%, 0%, 15.3%)
CIE-LABlab(58.26, 61.16, -42.76)
CIE-LCHlch(58.26, 74.62, 325.04°)
OKLaboklab(66.59% 0.1666 -0.1183)
OKLCHoklch(66.59% 0.204 324.6)
XYZxyz(42.1285, 26.2310, 67.7965)
Luminance0.2623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5ED8 #67D85E
analogous
#925ED8 #CF5ED8 #D85EA4
triadic
#CF5ED8 #D8CF5E #5ED8CF
tetradic
#CF5ED8 #D8925E #67D85E #5EA4D8
square
#CF5ED8 #D8925E #67D85E #5EA4D8
split-complementary
#CF5ED8 #A4D85E #5ED892
monochromatic
#8F2597 #BD31C8 #CF5ED8 #DE8FE4 #ECC1F0

Accessibility & contrast

On white

3.36
#CF5ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CF5ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5ED8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5ED8#FFFFFF#000000##000000
##CF5ED81.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DC
Deuteranopia (green-blind)
#7291D5
Tritanopia (blue-blind)
#D36E92
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5ed8;
/* rgb */ color: rgb(207, 94, 216);
/* oklch */ color: oklch(66.6% 0.204 324.6);
Tailwind
colors: {
  custom: {
    50: '#e091e4',
    500: '#cf5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ed8;
$custom-light: #e091e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ed8",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 295.574,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66593,
    "c": 0.20433,
    "h": 324.6
  },
  "luminance": 0.26229
}

Semantic roles & 50–950 ramp

primary
#CF5ED8
secondary
#B5E0B2
accent
#C91D29
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CF5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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