#CA5AFA#CA5AFA

#CA5AFA is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.239 H 314.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CA5AFA
RGBrgb(202, 90, 250)
HSLhsl(282, 94%, 67%)
HSVhsv(282, 64%, 98%)
CMYKcmyk(19.2%, 64%, 0%, 2%)
CIE-LABlab(58.76, 68.21, -61.00)
CIE-LCHlch(58.76, 91.51, 318.19°)
OKLaboklab(67.41% 0.1664 -0.1715)
OKLCHoklch(67.41% 0.239 314.1)
XYZxyz(45.2657, 26.7724, 93.2071)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AFA #8AFA5A
analogous
#7A5AFA #CA5AFA #FA5ADA
triadic
#CA5AFA #FACA5A #5AFACA
tetradic
#CA5AFA #FA7A5A #8AFA5A #5ADAFA
square
#CA5AFA #FA7A5A #8AFA5A #5ADAFA
split-complementary
#CA5AFA #DAFA5A #5AFA7A
monochromatic
#9606D3 #B71FF8 #CA5AFA #DD95FC #F0D1FE

Accessibility & contrast

On white

3.30
#CA5AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CA5AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AFA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AFA#FFFFFF#000000##000000
##CA5AFA1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0687FF
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#C679A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5afa;
/* rgb */ color: rgb(202, 90, 250);
/* oklch */ color: oklch(67.4% 0.239 314.1);
Tailwind
colors: {
  custom: {
    50: '#de8ffd',
    500: '#ca5afa',
    950: '#000000',
  },
}
SCSS
$custom: #ca5afa;
$custom-light: #de8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5afa",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 250
  },
  "hsl": {
    "h": 282,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.23895,
    "h": 314.1
  },
  "luminance": 0.26771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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