#CF5FD2#CF5FD2

#CF5FD2 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.4% C 0.198 H 326.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CF5FD2
RGBrgb(207, 95, 210)
HSLhsl(298, 56%, 60%)
HSVhsv(298, 55%, 82%)
CMYKcmyk(1.4%, 54.8%, 0%, 17.6%)
CIE-LABlab(58.14, 59.63, -39.55)
CIE-LCHlch(58.14, 71.56, 326.45°)
OKLaboklab(66.41% 0.1648 -0.109)
OKLCHoklch(66.41% 0.198 326.5)
XYZxyz(41.4564, 26.1053, 63.8155)
Luminance0.2610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FD2 #62D25F
analogous
#965FD2 #CF5FD2 #D25F9B
triadic
#CF5FD2 #D2CF5F #5FD2CF
tetradic
#CF5FD2 #D2965F #62D25F #5F9BD2
square
#CF5FD2 #D2965F #62D25F #5F9BD2
split-complementary
#CF5FD2 #9BD25F #5FD296
monochromatic
#8C288F #BB36BE #CF5FD2 #DD8FDF #ECBFED

Accessibility & contrast

On white

3.38
#CF5FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CF5FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FD2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FD2#FFFFFF#000000##000000
##CF5FD21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D6
Deuteranopia (green-blind)
#7691CF
Tritanopia (blue-blind)
#D46D90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5fd2;
/* rgb */ color: rgb(207, 95, 210);
/* oklch */ color: oklch(66.4% 0.198 326.5);
Tailwind
colors: {
  custom: {
    50: '#e092e0',
    500: '#cf5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fd2;
$custom-light: #e092e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fd2",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 298.435,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66412,
    "c": 0.19755,
    "h": 326.5
  },
  "luminance": 0.26103
}

Semantic roles & 50–950 ramp

primary
#CF5FD2
secondary
#B1DDB0
accent
#DF484C
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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