#CA5DFA#CA5DFA

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

Color values

HEX#CA5DFA
RGBrgb(202, 93, 250)
HSLhsl(282, 94%, 67%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(19.2%, 62.8%, 0%, 2%)
CIE-LABlab(59.24, 66.89, -60.23)
CIE-LCHlch(59.24, 90.01, 318.00°)
OKLaboklab(67.76% 0.163 -0.1693)
OKLCHoklch(67.76% 0.235 313.9)
XYZxyz(45.5239, 27.2888, 93.2931)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DFA #8DFA5D
analogous
#7C5DFA #CA5DFA #FA5DDC
triadic
#CA5DFA #FACA5D #5DFACA
tetradic
#CA5DFA #FA7C5D #8DFA5D #5DDCFA
square
#CA5DFA #FA7C5D #8DFA5D #5DDCFA
split-complementary
#CA5DFA #DCFA5D #5DFA7C
monochromatic
#9707D6 #B722F8 #CA5DFA #DD98FC #F1D4FE

Accessibility & contrast

On white

3.25
#CA5DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CA5DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DFA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DFA#FFFFFF#000000##000000
##CA5DFA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1889FF
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#C67BA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5dfa;
/* rgb */ color: rgb(202, 93, 250);
/* oklch */ color: oklch(67.8% 0.235 313.9);
Tailwind
colors: {
  custom: {
    50: '#de91fd',
    500: '#ca5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca5dfa;
$custom-light: #de91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5dfa",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 281.656,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67756,
    "c": 0.23502,
    "h": 313.9
  },
  "luminance": 0.27287
}

Semantic roles & 50–950 ramp

primary
#CA5DFA
secondary
#D0F2C1
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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