#CA5EF1#CA5EF1

#CA5EF1 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.225 H 316.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CA5EF1
RGBrgb(202, 94, 241)
HSLhsl(284, 84%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16.2%, 61%, 0%, 5.5%)
CIE-LABlab(58.90, 64.65, -55.79)
CIE-LCHlch(58.90, 85.40, 319.21°)
OKLaboklab(67.34% 0.162 -0.1563)
OKLCHoklch(67.34% 0.225 316)
XYZxyz(44.2346, 26.9144, 86.0669)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EF1 #85F15E
analogous
#805EF1 #CA5EF1 #F15ECE
triadic
#CA5EF1 #F1CA5E #5EF1CA
tetradic
#CA5EF1 #F1805E #85F15E #5ECEF1
square
#CA5EF1 #F1805E #85F15E #5ECEF1
split-complementary
#CA5EF1 #CEF15E #5EF180
monochromatic
#9411C4 #B726EC #CA5EF1 #DD96F6 #EFCFFB

Accessibility & contrast

On white

3.29
#CA5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CA5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EF1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EF1#FFFFFF#000000##000000
##CA5EF11.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E87F6
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#C8789F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5ef1;
/* rgb */ color: rgb(202, 94, 241);
/* oklch */ color: oklch(67.3% 0.225 316.0);
Tailwind
colors: {
  custom: {
    50: '#dd91f6',
    500: '#ca5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ef1;
$custom-light: #dd91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ef1",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 284.082,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67342,
    "c": 0.2251,
    "h": 316
  },
  "luminance": 0.26913
}

Semantic roles & 50–950 ramp

primary
#CA5EF1
secondary
#CAEEBD
accent
#E0053F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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