#CB5CFA#CB5CFA

#CB5CFA is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.237 H 314.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CB5CFA
RGBrgb(203, 92, 250)
HSLhsl(282, 94%, 67%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(18.8%, 63.2%, 0%, 2%)
CIE-LABlab(59.21, 67.55, -60.28)
CIE-LCHlch(59.21, 90.54, 318.26°)
OKLaboklab(67.76% 0.1653 -0.1694)
OKLCHoklch(67.76% 0.237 314.3)
XYZxyz(45.7082, 27.2544, 93.2768)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CFA #8BFA5C
analogous
#7C5CFA #CB5CFA #FA5CDA
triadic
#CB5CFA #FACB5C #5CFACB
tetradic
#CB5CFA #FA7C5C #8BFA5C #5CDAFA
square
#CB5CFA #FA7C5C #8BFA5C #5CDAFA
split-complementary
#CB5CFA #DAFA5C #5CFA7C
monochromatic
#9807D5 #B821F8 #CB5CFA #DE97FC #F1D3FE

Accessibility & contrast

On white

3.26
#CB5CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#CB5CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CFA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CFA#FFFFFF#000000##000000
##CB5CFA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1588FF
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#C77AA3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5cfa;
/* rgb */ color: rgb(203, 92, 250);
/* oklch */ color: oklch(67.8% 0.237 314.3);
Tailwind
colors: {
  custom: {
    50: '#df91fd',
    500: '#cb5cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cfa;
$custom-light: #df91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cfa",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 250
  },
  "hsl": {
    "h": 282.152,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6776,
    "c": 0.2367,
    "h": 314.3
  },
  "luminance": 0.27253
}

Semantic roles & 50–950 ramp

primary
#CB5CFA
secondary
#CFF2C0
accent
#E60044
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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