#CF5FF0#CF5FF0

#CF5FF0 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.0% C 0.225 H 317.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CF5FF0
RGBrgb(207, 95, 240)
HSLhsl(286, 83%, 66%)
HSVhsv(286, 60%, 94%)
CMYKcmyk(13.7%, 60.4%, 0%, 5.9%)
CIE-LABlab(59.66, 65.18, -53.99)
CIE-LCHlch(59.66, 84.63, 320.37°)
OKLaboklab(68.01% 0.1667 -0.1509)
OKLCHoklch(68.01% 0.225 317.8)
XYZxyz(45.5503, 27.7429, 85.3767)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FF0 #80F05F
analogous
#865FF0 #CF5FF0 #F05FC8
triadic
#CF5FF0 #F0CF5F #5FF0CF
tetradic
#CF5FF0 #F0865F #80F05F #5FC8F0
square
#CF5FF0 #F0865F #80F05F #5FC8F0
split-complementary
#CF5FF0 #C8F05F #5FF086
monochromatic
#9A12C2 #BE27EB #CF5FF0 #E097F5 #F1CFFA

Accessibility & contrast

On white

3.21
#CF5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CF5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FF0
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FF0#FFFFFF#000000##000000
##CF5FF01.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#CE789F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5ff0;
/* rgb */ color: rgb(207, 95, 240);
/* oklch */ color: oklch(68.0% 0.225 317.8);
Tailwind
colors: {
  custom: {
    50: '#e192f5',
    500: '#cf5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ff0;
$custom-light: #e192f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ff0",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 286.345,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.22483,
    "h": 317.8
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#CF5FF0
secondary
#C8EEBD
accent
#DF0638
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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