#CA5DF2#CA5DF2

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

Color values

HEX#CA5DF2
RGBrgb(202, 93, 242)
HSLhsl(284, 85%, 66%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16.5%, 61.6%, 0%, 5.1%)
CIE-LABlab(58.79, 65.30, -56.52)
CIE-LCHlch(58.79, 86.36, 319.12°)
OKLaboklab(67.28% 0.1631 -0.1584)
OKLCHoklch(67.28% 0.227 315.8)
XYZxyz(44.2960, 26.7976, 86.8263)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DF2 #85F25D
analogous
#7F5DF2 #CA5DF2 #F25DCF
triadic
#CA5DF2 #F2CA5D #5DF2CA
tetradic
#CA5DF2 #F27F5D #85F25D #5DCFF2
square
#CA5DF2 #F27F5D #85F25D #5DCFF2
split-complementary
#CA5DF2 #CFF25D #5DF27F
monochromatic
#9410C5 #B724ED #CA5DF2 #DD96F7 #EFCEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5DF2#FFFFFF#000000##000000
##CA5DF21.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)
#2A87F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#C8789F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5df2;
/* rgb */ color: rgb(202, 93, 242);
/* oklch */ color: oklch(67.3% 0.227 315.8);
Tailwind
colors: {
  custom: {
    50: '#de91f7',
    500: '#ca5df2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5df2;
$custom-light: #de91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5df2",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 283.893,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67282,
    "c": 0.22741,
    "h": 315.8
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#CA5DF2
secondary
#CAEEBD
accent
#E2043F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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