#CF5BF6#CF5BF6

#CF5BF6 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.9% C 0.236 H 316.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CF5BF6
RGBrgb(207, 91, 246)
HSLhsl(285, 90%, 66%)
HSVhsv(285, 63%, 96%)
CMYKcmyk(15.9%, 63%, 0%, 3.5%)
CIE-LABlab(59.35, 68.10, -57.81)
CIE-LCHlch(59.35, 89.33, 319.67°)
OKLaboklab(67.9% 0.1713 -0.1621)
OKLCHoklch(67.9% 0.236 316.6)
XYZxyz(46.1053, 27.4031, 90.0316)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BF6 #82F65B
analogous
#815BF6 #CF5BF6 #F65BCF
triadic
#CF5BF6 #F6CF5B #5BF6CF
tetradic
#CF5BF6 #F6815B #82F65B #5BCFF6
square
#CF5BF6 #F6815B #82F65B #5BCFF6
split-complementary
#CF5BF6 #CFF65B #5BF681
monochromatic
#9B0BCB #BE21F3 #CF5BF6 #E095F9 #F1CFFC

Accessibility & contrast

On white

3.24
#CF5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CF5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BF6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BF6#FFFFFF#000000##000000
##CF5BF61.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FB
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#CD77A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5bf6;
/* rgb */ color: rgb(207, 91, 246);
/* oklch */ color: oklch(67.9% 0.236 316.6);
Tailwind
colors: {
  custom: {
    50: '#e190fa',
    500: '#cf5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bf6;
$custom-light: #e190fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bf6",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 284.903,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67895,
    "c": 0.23579,
    "h": 316.6
  },
  "luminance": 0.27401
}

Semantic roles & 50–950 ramp

primary
#CF5BF6
secondary
#CAF0BD
accent
#E6003A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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