#CF5BF8#CF5BF8

#CF5BF8 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.0% C 0.238 H 316.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CF5BF8
RGBrgb(207, 91, 248)
HSLhsl(284, 92%, 66%)
HSVhsv(284, 63%, 97%)
CMYKcmyk(16.5%, 63.3%, 0%, 2.7%)
CIE-LABlab(59.46, 68.48, -58.74)
CIE-LCHlch(59.46, 90.23, 319.38°)
OKLaboklab(68.01% 0.1712 -0.1648)
OKLCHoklch(68.01% 0.238 316.1)
XYZxyz(46.4139, 27.5266, 91.6570)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BF8 #84F85B
analogous
#815BF8 #CF5BF8 #F85BD3
triadic
#CF5BF8 #F8CF5B #5BF8CF
tetradic
#CF5BF8 #F8815B #84F85B #5BD3F8
square
#CF5BF8 #F8815B #84F85B #5BD3F8
split-complementary
#CF5BF8 #D3F85B #5BF881
monochromatic
#9C09D0 #BE20F5 #CF5BF8 #E096FB #F1D0FD

Accessibility & contrast

On white

3.23
#CF5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CF5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BF8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BF8#FFFFFF#000000##000000
##CF5BF81.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FD
Deuteranopia (green-blind)
#5B93F4
Tritanopia (blue-blind)
#CD78A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5bf8;
/* rgb */ color: rgb(207, 91, 248);
/* oklch */ color: oklch(68.0% 0.238 316.1);
Tailwind
colors: {
  custom: {
    50: '#e190fb',
    500: '#cf5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bf8;
$custom-light: #e190fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bf8",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 284.331,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.23763,
    "h": 316.1
  },
  "luminance": 0.27525
}

Semantic roles & 50–950 ramp

primary
#CF5BF8
secondary
#CBF1BE
accent
#E6003C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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