#CF5BF2#CF5BF2

#CF5BF2 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.232 H 317.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CF5BF2
RGBrgb(207, 91, 242)
HSLhsl(286, 85%, 65%)
HSVhsv(286, 62%, 95%)
CMYKcmyk(14.5%, 62.4%, 0%, 5.1%)
CIE-LABlab(59.12, 67.33, -55.95)
CIE-LCHlch(59.12, 87.54, 320.27°)
OKLaboklab(67.66% 0.1713 -0.1566)
OKLCHoklch(67.66% 0.232 317.6)
XYZxyz(45.4979, 27.1602, 86.8330)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BF2 #7EF25B
analogous
#845BF2 #CF5BF2 #F25BC9
triadic
#CF5BF2 #F2CF5B #5BF2CF
tetradic
#CF5BF2 #F2845B #7EF25B #5BC9F2
square
#CF5BF2 #F2845B #7EF25B #5BC9F2
split-complementary
#CF5BF2 #C9F25B #5BF284
monochromatic
#990FC3 #BE22EE #CF5BF2 #E094F6 #F0CCFB

Accessibility & contrast

On white

3.27
#CF5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CF5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BF2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BF2#FFFFFF#000000##000000
##CF5BF21.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F7
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#CE759F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5bf2;
/* rgb */ color: rgb(207, 91, 242);
/* oklch */ color: oklch(67.7% 0.232 317.6);
Tailwind
colors: {
  custom: {
    50: '#e190f7',
    500: '#cf5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bf2;
$custom-light: #e190f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bf2",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 286.093,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.2321,
    "h": 317.6
  },
  "luminance": 0.27158
}

Semantic roles & 50–950 ramp

primary
#CF5BF2
secondary
#C7EEBB
accent
#E20437
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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