#CF5FEC#CF5FEC

#CF5FEC is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.8% C 0.221 H 318.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CF5FEC
RGBrgb(207, 95, 236)
HSLhsl(288, 79%, 65%)
HSVhsv(288, 60%, 93%)
CMYKcmyk(12.3%, 59.7%, 0%, 7.5%)
CIE-LABlab(59.44, 64.41, -52.10)
CIE-LCHlch(59.44, 82.84, 321.03°)
OKLaboklab(67.79% 0.1666 -0.1454)
OKLCHoklch(67.79% 0.221 318.9)
XYZxyz(44.9627, 27.5078, 82.2818)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FEC #7CEC5F
analogous
#895FEC #CF5FEC #EC5FC2
triadic
#CF5FEC #ECCF5F #5FECCF
tetradic
#CF5FEC #EC895F #7CEC5F #5FC2EC
square
#CF5FEC #EC895F #7CEC5F #5FC2EC
split-complementary
#CF5FEC #C2EC5F #5FEC89
monochromatic
#9916BA #BF28E6 #CF5FEC #DF96F2 #F0CCF9

Accessibility & contrast

On white

3.23
#CF5FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CF5FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FEC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FEC#FFFFFF#000000##000000
##CF5FEC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#CF769D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5fec;
/* rgb */ color: rgb(207, 95, 236);
/* oklch */ color: oklch(67.8% 0.221 318.9);
Tailwind
colors: {
  custom: {
    50: '#e192f3',
    500: '#cf5fec',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fec;
$custom-light: #e192f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fec",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 287.66,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67788,
    "c": 0.2211,
    "h": 318.9
  },
  "luminance": 0.27506
}

Semantic roles & 50–950 ramp

primary
#CF5FEC
secondary
#C5EBBB
accent
#DB0A35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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