#CB5DF5#CB5DF5

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

Color values

HEX#CB5DF5
RGBrgb(203, 93, 245)
HSLhsl(283, 88%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.1%, 62%, 0%, 3.9%)
CIE-LABlab(59.08, 66.12, -57.71)
CIE-LCHlch(59.08, 87.76, 318.89°)
OKLaboklab(67.58% 0.1643 -0.1619)
OKLCHoklch(67.58% 0.231 315.4)
XYZxyz(45.0218, 27.1193, 89.2315)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DF5 #87F55D
analogous
#7F5DF5 #CB5DF5 #F55DD3
triadic
#CB5DF5 #F5CB5D #5DF5CB
tetradic
#CB5DF5 #F57F5D #87F55D #5DD3F5
square
#CB5DF5 #F57F5D #87F55D #5DD3F5
split-complementary
#CB5DF5 #D3F55D #5DF57F
monochromatic
#960DCB #B823F1 #CB5DF5 #DE97F9 #F0D0FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5DF5#FFFFFF#000000##000000
##CB5DF51.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)
#2688FA
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#C879A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5df5;
/* rgb */ color: rgb(203, 93, 245);
/* oklch */ color: oklch(67.6% 0.231 315.4);
Tailwind
colors: {
  custom: {
    50: '#de91f9',
    500: '#cb5df5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5df5;
$custom-light: #de91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5df5",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 283.421,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67579,
    "c": 0.23064,
    "h": 315.4
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#CB5DF5
secondary
#CCF0BE
accent
#E50140
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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