#CD5BF6#CD5BF6

#CD5BF6 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.235 H 316.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CD5BF6
RGBrgb(205, 91, 246)
HSLhsl(284, 90%, 66%)
HSVhsv(284, 63%, 96%)
CMYKcmyk(16.7%, 63%, 0%, 3.5%)
CIE-LABlab(59.08, 67.65, -58.25)
CIE-LCHlch(59.08, 89.27, 319.27°)
OKLaboklab(67.65% 0.1689 -0.1634)
OKLCHoklch(67.65% 0.235 316)
XYZxyz(45.5499, 27.1168, 90.0056)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BF6 #84F65B
analogous
#7F5BF6 #CD5BF6 #F65BD1
triadic
#CD5BF6 #F6CD5B #5BF6CD
tetradic
#CD5BF6 #F67F5B #84F65B #5BD1F6
square
#CD5BF6 #F67F5B #84F65B #5BD1F6
split-complementary
#CD5BF6 #D1F65B #5BF67F
monochromatic
#990BCB #BB21F3 #CD5BF6 #DF95F9 #F0CFFC

Accessibility & contrast

On white

3.27
#CD5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CD5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BF6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BF6#FFFFFF#000000##000000
##CD5BF61.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2087FB
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#CA77A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5bf6;
/* rgb */ color: rgb(205, 91, 246);
/* oklch */ color: oklch(67.7% 0.235 316.0);
Tailwind
colors: {
  custom: {
    50: '#e090fa',
    500: '#cd5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bf6;
$custom-light: #e090fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bf6",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 284.129,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6765,
    "c": 0.23501,
    "h": 316
  },
  "luminance": 0.27115
}

Semantic roles & 50–950 ramp

primary
#CD5BF6
secondary
#CAF0BD
accent
#E6003D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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