#CF5FFE#CF5FFE

#CF5FFE is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.8% C 0.238 H 314.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#CF5FFE
RGBrgb(207, 95, 254)
HSLhsl(282, 99%, 68%)
HSVhsv(282, 63%, 100%)
CMYKcmyk(18.5%, 62.6%, 0%, 0.4%)
CIE-LABlab(60.43, 67.92, -60.50)
CIE-LCHlch(60.43, 90.96, 318.31°)
OKLaboklab(68.83% 0.1666 -0.1699)
OKLCHoklch(68.83% 0.238 314.4)
XYZxyz(47.7108, 28.6071, 96.7552)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FFE #8EFE5F
analogous
#7F5FFE #CF5FFE #FE5FDE
triadic
#CF5FFE #FECF5F #5FFECF
tetradic
#CF5FFE #FE7F5F #8EFE5F #5FDEFE
square
#CF5FFE #FE7F5F #8EFE5F #5FDEFE
split-complementary
#CF5FFE #DEFE5F #5FFE7F
monochromatic
#9F01E1 #BD22FE #CF5FFE #E19CFE #F3D9FF

Accessibility & contrast

On white

3.12
#CF5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#CF5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FFE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FFE#FFFFFF#000000##000000
##CF5FFE1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8BFF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#CB7DA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cf5ffe;
/* rgb */ color: rgb(207, 95, 254);
/* oklch */ color: oklch(68.8% 0.238 314.4);
Tailwind
colors: {
  custom: {
    50: '#e193ff',
    500: '#cf5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ffe;
$custom-light: #e193ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ffe",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 282.264,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.238,
    "h": 314.4
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#CF5FFE
secondary
#D3F4C4
accent
#E60044
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CF5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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