#CF5BE2#CF5BE2

#CF5BE2 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.218 H 321.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CF5BE2
RGBrgb(207, 91, 226)
HSLhsl(292, 70%, 62%)
HSVhsv(292, 60%, 89%)
CMYKcmyk(8.4%, 59.7%, 0%, 11.4%)
CIE-LABlab(58.26, 64.32, -48.37)
CIE-LCHlch(58.26, 80.48, 323.06°)
OKLaboklab(66.76% 0.171 -0.1345)
OKLCHoklch(66.76% 0.218 321.8)
XYZxyz(43.1992, 26.2407, 74.7263)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BE2 #6EE25B
analogous
#8C5BE2 #CF5BE2 #E25BB1
triadic
#CF5BE2 #E2CF5B #5BE2CF
tetradic
#CF5BE2 #E28C5B #6EE25B #5BB1E2
square
#CF5BE2 #E28C5B #6EE25B #5BB1E2
split-complementary
#CF5BE2 #B1E25B #5BE28C
monochromatic
#921DA5 #C027D9 #CF5BE2 #DE8FEB #EDC3F4

Accessibility & contrast

On white

3.36
#CF5BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CF5BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BE2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BE2#FFFFFF#000000##000000
##CF5BE21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F84E6
Deuteranopia (green-blind)
#6B91DE
Tritanopia (blue-blind)
#D17096
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5be2;
/* rgb */ color: rgb(207, 91, 226);
/* oklch */ color: oklch(66.8% 0.218 321.8);
Tailwind
colors: {
  custom: {
    50: '#e190eb',
    500: '#cf5be2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5be2;
$custom-light: #e190eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5be2",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 291.556,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66763,
    "c": 0.21756,
    "h": 321.8
  },
  "luminance": 0.26239
}

Semantic roles & 50–950 ramp

primary
#CF5BE2
secondary
#BBE5B4
accent
#D2142E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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