#CB5DFA#CB5DFA

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

Color values

HEX#CB5DFA
RGBrgb(203, 93, 250)
HSLhsl(282, 94%, 67%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(18.8%, 62.8%, 0%, 2%)
CIE-LABlab(59.37, 67.11, -60.02)
CIE-LCHlch(59.37, 90.04, 318.19°)
OKLaboklab(67.88% 0.1642 -0.1686)
OKLCHoklch(67.88% 0.235 314.2)
XYZxyz(45.7954, 27.4288, 93.3059)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DFA #8CFA5D
analogous
#7C5DFA #CB5DFA #FA5DDB
triadic
#CB5DFA #FACB5D #5DFACB
tetradic
#CB5DFA #FA7C5D #8CFA5D #5DDBFA
square
#CB5DFA #FA7C5D #8CFA5D #5DDBFA
split-complementary
#CB5DFA #DBFA5D #5DFA7C
monochromatic
#9807D6 #B822F8 #CB5DFA #DE98FC #F1D4FE

Accessibility & contrast

On white

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

On black

6.49
#CB5DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DFA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DFA#FFFFFF#000000##000000
##CB5DFA1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A89FF
Deuteranopia (green-blind)
#5792F6
Tritanopia (blue-blind)
#C77AA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5dfa;
/* rgb */ color: rgb(203, 93, 250);
/* oklch */ color: oklch(67.9% 0.235 314.2);
Tailwind
colors: {
  custom: {
    50: '#df91fd',
    500: '#cb5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dfa;
$custom-light: #df91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dfa",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 282.038,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.23538,
    "h": 314.2
  },
  "luminance": 0.27427
}

Semantic roles & 50–950 ramp

primary
#CB5DFA
secondary
#CFF2C1
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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