#CF5BE8#CF5BE8

#CF5BE8 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.223 H 320.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CF5BE8
RGBrgb(207, 91, 232)
HSLhsl(289, 75%, 63%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(10.8%, 60.8%, 0%, 9%)
CIE-LABlab(58.58, 65.43, -51.23)
CIE-LCHlch(58.58, 83.11, 321.94°)
OKLaboklab(67.09% 0.1712 -0.1428)
OKLCHoklch(67.09% 0.223 320.2)
XYZxyz(44.0369, 26.5758, 79.1383)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BE8 #74E85B
analogous
#885BE8 #CF5BE8 #E85BBA
triadic
#CF5BE8 #E8CF5B #5BE8CF
tetradic
#CF5BE8 #E8885B #74E85B #5BBAE8
square
#CF5BE8 #E8885B #74E85B #5BBAE8
split-complementary
#CF5BE8 #BAE85B #5BE888
monochromatic
#9519B0 #BF25E0 #CF5BE8 #DF91F0 #EEC6F7

Accessibility & contrast

On white

3.33
#CF5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CF5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BE8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BE8#FFFFFF#000000##000000
##CF5BE81.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#D07299
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5be8;
/* rgb */ color: rgb(207, 91, 232);
/* oklch */ color: oklch(67.1% 0.223 320.2);
Tailwind
colors: {
  custom: {
    50: '#e190f0',
    500: '#cf5be8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5be8;
$custom-light: #e190f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5be8",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 289.362,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67093,
    "c": 0.22297,
    "h": 320.2
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#CF5BE8
secondary
#BFE9B6
accent
#D80E32
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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