#CF5BE7#CF5BE7

#CF5BE7 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.0% C 0.222 H 320.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CF5BE7
RGBrgb(207, 91, 231)
HSLhsl(290, 74%, 63%)
HSVhsv(290, 61%, 91%)
CMYKcmyk(10.4%, 60.6%, 0%, 9.4%)
CIE-LABlab(58.53, 65.25, -50.76)
CIE-LCHlch(58.53, 82.67, 322.12°)
OKLaboklab(67.04% 0.1712 -0.1415)
OKLCHoklch(67.04% 0.222 320.4)
XYZxyz(43.8953, 26.5191, 78.3924)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BE7 #73E75B
analogous
#895BE7 #CF5BE7 #E75BB9
triadic
#CF5BE7 #E7CF5B #5BE7CF
tetradic
#CF5BE7 #E7895B #73E75B #5BB9E7
square
#CF5BE7 #E7895B #73E75B #5BB9E7
split-complementary
#CF5BE7 #B9E75B #5BE789
monochromatic
#9519AE #BF26DF #CF5BE7 #DF90EF #EEC6F7

Accessibility & contrast

On white

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

On black

6.30
#CF5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BE7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BE7#FFFFFF#000000##000000
##CF5BE71.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EB
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#D07199
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5be7;
/* rgb */ color: rgb(207, 91, 231);
/* oklch */ color: oklch(67.0% 0.222 320.4);
Tailwind
colors: {
  custom: {
    50: '#e190ef',
    500: '#cf5be7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5be7;
$custom-light: #e190ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5be7",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 289.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67038,
    "c": 0.22207,
    "h": 320.4
  },
  "luminance": 0.26517
}

Semantic roles & 50–950 ramp

primary
#CF5BE7
secondary
#BEE8B6
accent
#D70F31
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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