#CF5CEC#CF5CEC

#CF5CEC is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.225 H 319.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CF5CEC
RGBrgb(207, 92, 236)
HSLhsl(288, 79%, 64%)
HSVhsv(288, 61%, 93%)
CMYKcmyk(12.3%, 61%, 0%, 7.5%)
CIE-LABlab(58.95, 65.75, -52.87)
CIE-LCHlch(58.95, 84.37, 321.19°)
OKLaboklab(67.43% 0.1701 -0.1476)
OKLCHoklch(67.43% 0.225 319)
XYZxyz(44.6976, 26.9778, 82.1934)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CEC #79EC5C
analogous
#875CEC #CF5CEC #EC5CC1
triadic
#CF5CEC #ECCF5C #5CECCF
tetradic
#CF5CEC #EC875C #79EC5C #5CC1EC
square
#CF5CEC #EC875C #79EC5C #5CC1EC
split-complementary
#CF5CEC #C1EC5C #5CEC87
monochromatic
#9715B8 #BF25E6 #CF5CEC #DF93F2 #EFCAF9

Accessibility & contrast

On white

3.28
#CF5CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CF5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CEC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CEC#FFFFFF#000000##000000
##CF5CEC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#CF749C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5cec;
/* rgb */ color: rgb(207, 92, 236);
/* oklch */ color: oklch(67.4% 0.225 319.0);
Tailwind
colors: {
  custom: {
    50: '#e191f3',
    500: '#cf5cec',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cec;
$custom-light: #e191f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cec",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 287.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67434,
    "c": 0.22525,
    "h": 319
  },
  "luminance": 0.26976
}

Semantic roles & 50–950 ramp

primary
#CF5CEC
secondary
#C3EBB9
accent
#DB0A34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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