#CA5BFA#CA5BFA

#CA5BFA is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.238 H 314.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CA5BFA
RGBrgb(202, 91, 250)
HSLhsl(282, 94%, 67%)
HSVhsv(282, 64%, 98%)
CMYKcmyk(19.2%, 63.6%, 0%, 2%)
CIE-LABlab(58.92, 67.77, -60.75)
CIE-LCHlch(58.92, 91.01, 318.13°)
OKLaboklab(67.53% 0.1653 -0.1708)
OKLCHoklch(67.53% 0.238 314.1)
XYZxyz(45.3506, 26.9423, 93.2354)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BFA #8BFA5B
analogous
#7B5BFA #CA5BFA #FA5BDA
triadic
#CA5BFA #FACA5B #5BFACA
tetradic
#CA5BFA #FA7B5B #8BFA5B #5BDAFA
square
#CA5BFA #FA7B5B #8BFA5B #5BDAFA
split-complementary
#CA5BFA #DAFA5B #5BFA7B
monochromatic
#9606D4 #B720F8 #CA5BFA #DD96FC #F0D2FE

Accessibility & contrast

On white

3.29
#CA5BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CA5BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BFA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BFA#FFFFFF#000000##000000
##CA5BFA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E88FF
Deuteranopia (green-blind)
#5491F6
Tritanopia (blue-blind)
#C679A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5bfa;
/* rgb */ color: rgb(202, 91, 250);
/* oklch */ color: oklch(67.5% 0.238 314.1);
Tailwind
colors: {
  custom: {
    50: '#de90fd',
    500: '#ca5bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bfa;
$custom-light: #de90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bfa",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 281.887,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67525,
    "c": 0.23764,
    "h": 314.1
  },
  "luminance": 0.26941
}

Semantic roles & 50–950 ramp

primary
#CA5BFA
secondary
#CEF2BF
accent
#E60045
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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