#CA5FF4#CA5FF4

#CA5FF4 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.6% C 0.227 H 315.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CA5FF4
RGBrgb(202, 95, 244)
HSLhsl(283, 87%, 66%)
HSVhsv(283, 61%, 96%)
CMYKcmyk(17.2%, 61.1%, 0%, 4.3%)
CIE-LABlab(59.23, 64.79, -56.93)
CIE-LCHlch(59.23, 86.25, 318.70°)
OKLaboklab(67.64% 0.1608 -0.1596)
OKLCHoklch(67.64% 0.227 315.2)
XYZxyz(44.7759, 27.2741, 88.4762)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FF4 #89F45F
analogous
#805FF4 #CA5FF4 #F45FD4
triadic
#CA5FF4 #F4CA5F #5FF4CA
tetradic
#CA5FF4 #F4805F #89F45F #5FD4F4
square
#CA5FF4 #F4805F #89F45F #5FD4F4
split-complementary
#CA5FF4 #D4F45F #5FF480
monochromatic
#950ECB #B726F0 #CA5FF4 #DD98F8 #F0D2FC

Accessibility & contrast

On white

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

On black

6.45
#CA5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FF4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FF4#FFFFFF#000000##000000
##CA5FF41.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F9
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#C77AA1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5ff4;
/* rgb */ color: rgb(202, 95, 244);
/* oklch */ color: oklch(67.6% 0.227 315.2);
Tailwind
colors: {
  custom: {
    50: '#de92f8',
    500: '#ca5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ff4;
$custom-light: #de92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ff4",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 283.087,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.22659,
    "h": 315.2
  },
  "luminance": 0.27273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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