#CF5BEB#CF5BEB

#CF5BEB is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.226 H 319.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CF5BEB
RGBrgb(207, 91, 235)
HSLhsl(288, 78%, 64%)
HSVhsv(288, 61%, 92%)
CMYKcmyk(11.9%, 61.3%, 0%, 7.8%)
CIE-LABlab(58.74, 66.00, -52.66)
CIE-LCHlch(58.74, 84.43, 321.42°)
OKLaboklab(67.26% 0.1713 -0.147)
OKLCHoklch(67.26% 0.226 319.4)
XYZxyz(44.4667, 26.7477, 81.4017)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BEB #77EB5B
analogous
#875BEB #CF5BEB #EB5BBF
triadic
#CF5BEB #EBCF5B #5BEBCF
tetradic
#CF5BEB #EB875B #77EB5B #5BBFEB
square
#CF5BEB #EB875B #77EB5B #5BBFEB
split-complementary
#CF5BEB #BFEB5B #5BEB87
monochromatic
#9616B5 #BF24E4 #CF5BEB #DF92F2 #EFC8F8

Accessibility & contrast

On white

3.31
#CF5BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CF5BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BEB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BEB#FFFFFF#000000##000000
##CF5BEB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#CF739B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5beb;
/* rgb */ color: rgb(207, 91, 235);
/* oklch */ color: oklch(67.3% 0.226 319.4);
Tailwind
colors: {
  custom: {
    50: '#e190f2',
    500: '#cf5beb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5beb;
$custom-light: #e190f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5beb",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 288.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67262,
    "c": 0.2257,
    "h": 319.4
  },
  "luminance": 0.26746
}

Semantic roles & 50–950 ramp

primary
#CF5BEB
secondary
#C1EAB8
accent
#DB0B33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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