#CF5BEC#CF5BEC

#CF5BEC is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.227 H 319.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CF5BEC
RGBrgb(207, 91, 236)
HSLhsl(288, 79%, 64%)
HSVhsv(288, 61%, 93%)
CMYKcmyk(12.3%, 61.4%, 0%, 7.5%)
CIE-LABlab(58.79, 66.19, -53.13)
CIE-LCHlch(58.79, 84.87, 321.25°)
OKLaboklab(67.32% 0.1713 -0.1484)
OKLCHoklch(67.32% 0.227 319.1)
XYZxyz(44.6116, 26.8056, 82.1647)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BEC #78EC5B
analogous
#875BEC #CF5BEC #EC5BC1
triadic
#CF5BEC #ECCF5B #5BECCF
tetradic
#CF5BEC #EC875B #78EC5B #5BC1EC
square
#CF5BEC #EC875B #78EC5B #5BC1EC
split-complementary
#CF5BEC #C1EC5B #5BEC87
monochromatic
#9715B7 #BF24E6 #CF5BEC #DF92F2 #EFC9F9

Accessibility & contrast

On white

3.30
#CF5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CF5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BEC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BEC#FFFFFF#000000##000000
##CF5BEC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F0
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#CF739C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5bec;
/* rgb */ color: rgb(207, 91, 236);
/* oklch */ color: oklch(67.3% 0.227 319.1);
Tailwind
colors: {
  custom: {
    50: '#e190f3',
    500: '#cf5bec',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bec;
$custom-light: #e190f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bec",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 288,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.22661,
    "h": 319.1
  },
  "luminance": 0.26804
}

Semantic roles & 50–950 ramp

primary
#CF5BEC
secondary
#C2EBB8
accent
#DC0A34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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