#CF5DF2#CF5DF2

#CF5DF2 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.9% C 0.229 H 317.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CF5DF2
RGBrgb(207, 93, 242)
HSLhsl(286, 85%, 66%)
HSVhsv(286, 62%, 95%)
CMYKcmyk(14.5%, 61.6%, 0%, 5.1%)
CIE-LABlab(59.44, 66.45, -55.44)
CIE-LCHlch(59.44, 86.54, 320.16°)
OKLaboklab(67.89% 0.169 -0.1551)
OKLCHoklch(67.89% 0.229 317.5)
XYZxyz(45.6712, 27.5067, 86.8908)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DF2 #80F25D
analogous
#845DF2 #CF5DF2 #F25DCA
triadic
#CF5DF2 #F2CF5D #5DF2CF
tetradic
#CF5DF2 #F2845D #80F25D #5DCAF2
square
#CF5DF2 #F2845D #80F25D #5DCAF2
split-complementary
#CF5DF2 #CAF25D #5DF284
monochromatic
#9A10C5 #BE24ED #CF5DF2 #E096F7 #F1CEFB

Accessibility & contrast

On white

3.23
#CF5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CF5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DF2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DF2#FFFFFF#000000##000000
##CF5DF21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F7
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#CE779F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5df2;
/* rgb */ color: rgb(207, 93, 242);
/* oklch */ color: oklch(67.9% 0.229 317.5);
Tailwind
colors: {
  custom: {
    50: '#e191f7',
    500: '#cf5df2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5df2;
$custom-light: #e191f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5df2",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 285.906,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67892,
    "c": 0.22942,
    "h": 317.5
  },
  "luminance": 0.27505
}

Semantic roles & 50–950 ramp

primary
#CF5DF2
secondary
#C8EEBD
accent
#E20438
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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