#CA5CF5#CA5CF5

#CA5CF5 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.232 H 315.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CA5CF5
RGBrgb(202, 92, 245)
HSLhsl(283, 88%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.6%, 62.4%, 0%, 3.9%)
CIE-LABlab(58.79, 66.34, -58.18)
CIE-LCHlch(58.79, 88.23, 318.75°)
OKLaboklab(67.34% 0.1643 -0.1633)
OKLCHoklch(67.34% 0.232 315.2)
XYZxyz(44.6631, 26.8049, 89.1897)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CF5 #87F55C
analogous
#7D5CF5 #CA5CF5 #F55CD3
triadic
#CA5CF5 #F5CA5C #5CF5CA
tetradic
#CA5CF5 #F57D5C #87F55C #5CD3F5
square
#CA5CF5 #F57D5C #87F55C #5CD3F5
split-complementary
#CA5CF5 #D3F55C #5CF57D
monochromatic
#950CCA #B722F1 #CA5CF5 #DD96F9 #EFCFFC

Accessibility & contrast

On white

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

On black

6.36
#CA5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CF5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CF5#FFFFFF#000000##000000
##CA5CF51.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FA
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#C778A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5cf5;
/* rgb */ color: rgb(202, 92, 245);
/* oklch */ color: oklch(67.3% 0.232 315.2);
Tailwind
colors: {
  custom: {
    50: '#de90f9',
    500: '#ca5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cf5;
$custom-light: #de90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cf5",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 283.137,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67341,
    "c": 0.2316,
    "h": 315.2
  },
  "luminance": 0.26803
}

Semantic roles & 50–950 ramp

primary
#CA5CF5
secondary
#CBF0BD
accent
#E50041
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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