#CF5DF1#CF5DF1

#CF5DF1 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.228 H 317.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#CF5DF1
RGBrgb(207, 93, 241)
HSLhsl(286, 84%, 65%)
HSVhsv(286, 61%, 95%)
CMYKcmyk(14.1%, 61.4%, 0%, 5.5%)
CIE-LABlab(59.39, 66.26, -54.97)
CIE-LCHlch(59.39, 86.09, 320.32°)
OKLaboklab(67.84% 0.169 -0.1538)
OKLCHoklch(67.84% 0.228 317.7)
XYZxyz(45.5214, 27.4468, 86.1019)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DF1 #7FF15D
analogous
#855DF1 #CF5DF1 #F15DC9
triadic
#CF5DF1 #F1CF5D #5DF1CF
tetradic
#CF5DF1 #F1855D #7FF15D #5DC9F1
square
#CF5DF1 #F1855D #7FF15D #5DC9F1
split-complementary
#CF5DF1 #C9F15D #5DF185
monochromatic
#9A11C3 #BE25EC #CF5DF1 #E095F6 #F0CEFB

Accessibility & contrast

On white

3.24
#CF5DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#CF5DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DF1
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DF1#FFFFFF#000000##000000
##CF5DF11.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#6293ED
Tritanopia (blue-blind)
#CE769F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5df1;
/* rgb */ color: rgb(207, 93, 241);
/* oklch */ color: oklch(67.8% 0.228 317.7);
Tailwind
colors: {
  custom: {
    50: '#e191f6',
    500: '#cf5df1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5df1;
$custom-light: #e191f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5df1",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 286.216,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.22849,
    "h": 317.7
  },
  "luminance": 0.27445
}

Semantic roles & 50–950 ramp

primary
#CF5DF1
secondary
#C8EEBC
accent
#E10537
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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