#CA5EF4#CA5EF4

#CA5EF4 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.5% C 0.228 H 315.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CA5EF4
RGBrgb(202, 94, 244)
HSLhsl(283, 87%, 66%)
HSVhsv(283, 61%, 96%)
CMYKcmyk(17.2%, 61.5%, 0%, 4.3%)
CIE-LABlab(59.06, 65.25, -57.19)
CIE-LCHlch(59.06, 86.76, 318.76°)
OKLaboklab(67.52% 0.162 -0.1604)
OKLCHoklch(67.52% 0.228 315.3)
XYZxyz(44.6864, 27.0951, 88.4464)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EF4 #88F45E
analogous
#7F5EF4 #CA5EF4 #F45ED3
triadic
#CA5EF4 #F4CA5E #5EF4CA
tetradic
#CA5EF4 #F47F5E #88F45E #5ED3F4
square
#CA5EF4 #F47F5E #88F45E #5ED3F4
split-complementary
#CA5EF4 #D3F45E #5EF47F
monochromatic
#950ECA #B725F0 #CA5EF4 #DD97F8 #F0D1FC

Accessibility & contrast

On white

3.27
#CA5EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CA5EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EF4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EF4#FFFFFF#000000##000000
##CA5EF41.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988F9
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#C779A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5ef4;
/* rgb */ color: rgb(202, 94, 244);
/* oklch */ color: oklch(67.5% 0.228 315.3);
Tailwind
colors: {
  custom: {
    50: '#de92f8',
    500: '#ca5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ef4;
$custom-light: #de92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ef4",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 283.2,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.22796,
    "h": 315.3
  },
  "luminance": 0.27094
}

Semantic roles & 50–950 ramp

primary
#CA5EF4
secondary
#CCEFBE
accent
#E40241
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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