#CF5BED#CF5BED

#CF5BED is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.228 H 318.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CF5BED
RGBrgb(207, 91, 237)
HSLhsl(288, 80%, 64%)
HSVhsv(288, 62%, 93%)
CMYKcmyk(12.7%, 61.6%, 0%, 7.1%)
CIE-LABlab(58.85, 66.37, -53.60)
CIE-LCHlch(58.85, 85.31, 321.08°)
OKLaboklab(67.38% 0.1713 -0.1497)
OKLCHoklch(67.38% 0.228 318.8)
XYZxyz(44.7572, 26.8639, 82.9320)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BED #79ED5B
analogous
#865BED #CF5BED #ED5BC2
triadic
#CF5BED #EDCF5B #5BEDCF
tetradic
#CF5BED #ED865B #79ED5B #5BC2ED
square
#CF5BED #ED865B #79ED5B #5BC2ED
split-complementary
#CF5BED #C2ED5B #5BED86
monochromatic
#9714B9 #BF24E7 #CF5BED #DF92F3 #EFC9F9

Accessibility & contrast

On white

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

On black

6.37
#CF5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BED
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BED#FFFFFF#000000##000000
##CF5BED1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F1
Deuteranopia (green-blind)
#6491E9
Tritanopia (blue-blind)
#CF749C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5bed;
/* rgb */ color: rgb(207, 91, 237);
/* oklch */ color: oklch(67.4% 0.228 318.8);
Tailwind
colors: {
  custom: {
    50: '#e190f3',
    500: '#cf5bed',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bed;
$custom-light: #e190f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bed",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 287.671,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67375,
    "c": 0.22752,
    "h": 318.8
  },
  "luminance": 0.26862
}

Semantic roles & 50–950 ramp

primary
#CF5BED
secondary
#C3EBB9
accent
#DD0934
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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