#CF5CFE#CF5CFE

#CF5CFE is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.5% C 0.242 H 314.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CF5CFE
RGBrgb(207, 92, 254)
HSLhsl(283, 99%, 68%)
HSVhsv(283, 64%, 100%)
CMYKcmyk(18.5%, 63.8%, 0%, 0.4%)
CIE-LABlab(59.96, 69.23, -61.26)
CIE-LCHlch(59.96, 92.44, 318.49°)
OKLaboklab(68.48% 0.17 -0.1721)
OKLCHoklch(68.48% 0.242 314.6)
XYZxyz(47.4457, 28.0770, 96.6668)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CFE #8BFE5C
analogous
#7E5CFE #CF5CFE #FE5CDC
triadic
#CF5CFE #FECF5C #5CFECF
tetradic
#CF5CFE #FE7E5C #8BFE5C #5CDCFE
square
#CF5CFE #FE7E5C #8BFE5C #5CDCFE
split-complementary
#CF5CFE #DCFE5C #5CFE7E
monochromatic
#9E01DE #BD1FFE #CF5CFE #E199FE #F3D6FF

Accessibility & contrast

On white

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

On black

6.61
#CF5CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CFE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CFE#FFFFFF#000000##000000
##CF5CFE1.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F8AFF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#CB7BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5cfe;
/* rgb */ color: rgb(207, 92, 254);
/* oklch */ color: oklch(68.5% 0.242 314.6);
Tailwind
colors: {
  custom: {
    50: '#e291ff',
    500: '#cf5cfe',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cfe;
$custom-light: #e291ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cfe",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 254
  },
  "hsl": {
    "h": 282.593,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68484,
    "c": 0.24191,
    "h": 314.6
  },
  "luminance": 0.28075
}

Semantic roles & 50–950 ramp

primary
#CF5CFE
secondary
#D0F4C2
accent
#E60043
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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