#CF5BC6#CF5BC6

#CF5BC6 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.3% C 0.193 H 330.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CF5BC6
RGBrgb(207, 91, 198)
HSLhsl(305, 55%, 58%)
HSVhsv(305, 56%, 81%)
CMYKcmyk(0%, 56%, 4.3%, 18.8%)
CIE-LABlab(56.91, 59.39, -34.65)
CIE-LCHlch(56.91, 68.76, 329.74°)
OKLaboklab(65.33% 0.1684 -0.0949)
OKLCHoklch(65.33% 0.193 330.6)
XYZxyz(39.6660, 24.8274, 56.1181)
Luminance0.2482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BC6 #5BCF64
analogous
#9E5BCF #CF5BC6 #CF5B8C
triadic
#CF5BC6 #C6CF5B #5BC6CF
tetradic
#CF5BC6 #CF9E5B #5BCF64 #5B8CCF
square
#CF5BC6 #CF9E5B #5BCF64 #5B8CCF
split-complementary
#CF5BC6 #8CCF5B #5BCF9E
monochromatic
#882880 #B736AD #CF5BC6 #DD8AD6 #EBBAE7

Accessibility & contrast

On white

3.52
#CF5BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CF5BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BC6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BC6#FFFFFF#000000##000000
##CF5BC61.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC9
Deuteranopia (green-blind)
#798EC3
Tritanopia (blue-blind)
#D66688
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5bc6;
/* rgb */ color: rgb(207, 91, 198);
/* oklch */ color: oklch(65.3% 0.193 330.6);
Tailwind
colors: {
  custom: {
    50: '#e08fd7',
    500: '#cf5bc6',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bc6;
$custom-light: #e08fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bc6",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 304.655,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65329,
    "c": 0.19333,
    "h": 330.6
  },
  "luminance": 0.24825
}

Semantic roles & 50–950 ramp

primary
#CF5BC6
secondary
#ACDAAF
accent
#DE554A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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