#CF5FF1#CF5FF1

#CF5FF1 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.1% C 0.226 H 317.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#CF5FF1
RGBrgb(207, 95, 241)
HSLhsl(286, 84%, 66%)
HSVhsv(286, 61%, 95%)
CMYKcmyk(14.1%, 60.6%, 0%, 5.5%)
CIE-LABlab(59.71, 65.37, -54.46)
CIE-LCHlch(59.71, 85.08, 320.20°)
OKLaboklab(68.07% 0.1667 -0.1523)
OKLCHoklch(68.07% 0.226 317.6)
XYZxyz(45.6993, 27.8025, 86.1612)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FF1 #81F15F
analogous
#865FF1 #CF5FF1 #F15FCA
triadic
#CF5FF1 #F1CF5F #5FF1CF
tetradic
#CF5FF1 #F1865F #81F15F #5FCAF1
square
#CF5FF1 #F1865F #81F15F #5FCAF1
split-complementary
#CF5FF1 #CAF15F #5FF186
monochromatic
#9B11C4 #BE27EC #CF5FF1 #E097F6 #F1D0FB

Accessibility & contrast

On white

3.20
#CF5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#CF5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FF1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FF1#FFFFFF#000000##000000
##CF5FF11.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#6493ED
Tritanopia (blue-blind)
#CE78A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5ff1;
/* rgb */ color: rgb(207, 95, 241);
/* oklch */ color: oklch(68.1% 0.226 317.6);
Tailwind
colors: {
  custom: {
    50: '#e192f6',
    500: '#cf5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ff1;
$custom-light: #e192f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ff1",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 286.027,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6807,
    "c": 0.22576,
    "h": 317.6
  },
  "luminance": 0.27801
}

Semantic roles & 50–950 ramp

primary
#CF5FF1
secondary
#C9EEBE
accent
#E00538
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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