#CF5FF6#CF5FF6

#CF5FF6 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.4% C 0.230 H 316.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CF5FF6
RGBrgb(207, 95, 246)
HSLhsl(285, 89%, 67%)
HSVhsv(285, 61%, 96%)
CMYKcmyk(15.9%, 61.4%, 0%, 3.5%)
CIE-LABlab(59.98, 66.34, -56.79)
CIE-LCHlch(59.98, 87.33, 319.43°)
OKLaboklab(68.36% 0.1667 -0.1591)
OKLCHoklch(68.36% 0.23 316.3)
XYZxyz(46.4564, 28.1053, 90.1486)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FF6 #86F65F
analogous
#845FF6 #CF5FF6 #F65FD2
triadic
#CF5FF6 #F6CF5F #5FF6CF
tetradic
#CF5FF6 #F6845F #86F65F #5FD2F6
square
#CF5FF6 #F6845F #86F65F #5FD2F6
split-complementary
#CF5FF6 #D2F65F #5FF684
monochromatic
#9D0CCF #BE25F3 #CF5FF6 #E099F9 #F2D3FD

Accessibility & contrast

On white

3.17
#CF5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CF5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FF6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FF6#FFFFFF#000000##000000
##CF5FF61.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFB
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#CD7AA2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf5ff6;
/* rgb */ color: rgb(207, 95, 246);
/* oklch */ color: oklch(68.4% 0.230 316.3);
Tailwind
colors: {
  custom: {
    50: '#e193fa',
    500: '#cf5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ff6;
$custom-light: #e193fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ff6",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 284.503,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68357,
    "c": 0.23045,
    "h": 316.3
  },
  "luminance": 0.28104
}

Semantic roles & 50–950 ramp

primary
#CF5FF6
secondary
#CDF1C0
accent
#E6003B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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