#CF5BCC#CF5BCC

#CF5BCC is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.6% C 0.198 H 328.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CF5BCC
RGBrgb(207, 91, 204)
HSLhsl(302, 55%, 58%)
HSVhsv(302, 56%, 81%)
CMYKcmyk(0%, 56%, 1.4%, 18.8%)
CIE-LABlab(57.18, 60.41, -37.64)
CIE-LCHlch(57.18, 71.18, 328.07°)
OKLaboklab(65.62% 0.1692 -0.1035)
OKLCHoklch(65.62% 0.198 328.6)
XYZxyz(40.3718, 25.1097, 59.8353)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BCC #5BCF5E
analogous
#985BCF #CF5BCC #CF5B92
triadic
#CF5BCC #CCCF5B #5BCCCF
tetradic
#CF5BCC #CF985B #5BCF5E #5B92CF
square
#CF5BCC #CF985B #5BCF5E #5B92CF
split-complementary
#CF5BCC #92CF5B #5BCF98
monochromatic
#882885 #B736B4 #CF5BCC #DD8ADB #EBBAE9

Accessibility & contrast

On white

3.49
#CF5BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CF5BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BCC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BCC#FFFFFF#000000##000000
##CF5BCC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FD0
Deuteranopia (green-blind)
#768FC9
Tritanopia (blue-blind)
#D5688B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5bcc;
/* rgb */ color: rgb(207, 91, 204);
/* oklch */ color: oklch(65.6% 0.198 328.6);
Tailwind
colors: {
  custom: {
    50: '#e08fdc',
    500: '#cf5bcc',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bcc;
$custom-light: #e08fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bcc",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 301.552,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.19833,
    "h": 328.6
  },
  "luminance": 0.25107
}

Semantic roles & 50–950 ramp

primary
#CF5BCC
secondary
#ACDAAD
accent
#DE4E4A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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