#CF5ED2#CF5ED2

#CF5ED2 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.3% C 0.199 H 326.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CF5ED2
RGBrgb(207, 94, 210)
HSLhsl(298, 56%, 60%)
HSVhsv(298, 55%, 82%)
CMYKcmyk(1.4%, 55.2%, 0%, 17.6%)
CIE-LABlab(57.97, 60.09, -39.82)
CIE-LCHlch(57.97, 72.09, 326.47°)
OKLaboklab(66.29% 0.166 -0.1098)
OKLCHoklch(66.29% 0.199 326.5)
XYZxyz(41.3669, 25.9264, 63.7857)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5ED2 #61D25E
analogous
#955ED2 #CF5ED2 #D25E9B
triadic
#CF5ED2 #D2CF5E #5ED2CF
tetradic
#CF5ED2 #D2955E #61D25E #5E9BD2
square
#CF5ED2 #D2955E #61D25E #5E9BD2
split-complementary
#CF5ED2 #9BD25E #5ED295
monochromatic
#8B288E #BA35BE #CF5ED2 #DD8EDF #ECBEED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5ED2#FFFFFF#000000##000000
##CF5ED21.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)
#5082D6
Deuteranopia (green-blind)
#7590CF
Tritanopia (blue-blind)
#D46C8F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf5ed2;
/* rgb */ color: rgb(207, 94, 210);
/* oklch */ color: oklch(66.3% 0.199 326.5);
Tailwind
colors: {
  custom: {
    50: '#e091e0',
    500: '#cf5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ed2;
$custom-light: #e091e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ed2",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 298.448,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66288,
    "c": 0.19904,
    "h": 326.5
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

primary
#CF5ED2
secondary
#B1DCAF
accent
#E0484C
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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