#CA5BED#CA5BED

#CA5BED is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.225 H 317.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CA5BED
RGBrgb(202, 91, 237)
HSLhsl(286, 80%, 64%)
HSVhsv(286, 62%, 93%)
CMYKcmyk(14.8%, 61.6%, 0%, 7.1%)
CIE-LABlab(58.18, 65.21, -54.70)
CIE-LCHlch(58.18, 85.12, 320.01°)
OKLaboklab(66.76% 0.1655 -0.1531)
OKLCHoklch(66.76% 0.225 317.2)
XYZxyz(43.3821, 26.1548, 82.8676)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BED #7EED5B
analogous
#815BED #CA5BED #ED5BC7
triadic
#CA5BED #EDCA5B #5BEDCA
tetradic
#CA5BED #ED815B #7EED5B #5BC7ED
square
#CA5BED #ED815B #7EED5B #5BC7ED
split-complementary
#CA5BED #C7ED5B #5BED81
monochromatic
#9214B9 #B824E7 #CA5BED #DC92F3 #EEC9F9

Accessibility & contrast

On white

3.37
#CA5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CA5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BED
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BED#FFFFFF#000000##000000
##CA5BED1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F1
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#C9749C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5bed;
/* rgb */ color: rgb(202, 91, 237);
/* oklch */ color: oklch(66.8% 0.225 317.2);
Tailwind
colors: {
  custom: {
    50: '#dd90f3',
    500: '#ca5bed',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bed;
$custom-light: #dd90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bed",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 285.616,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.22543,
    "h": 317.2
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#CA5BED
secondary
#C5EBB9
accent
#DD093C
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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