#CA5EF2#CA5EF2

#CA5EF2 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.226 H 315.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CA5EF2
RGBrgb(202, 94, 242)
HSLhsl(284, 85%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16.5%, 61.2%, 0%, 5.1%)
CIE-LABlab(58.95, 64.85, -56.26)
CIE-LCHlch(58.95, 85.85, 319.06°)
OKLaboklab(67.4% 0.162 -0.1577)
OKLCHoklch(67.4% 0.226 315.8)
XYZxyz(44.3844, 26.9743, 86.8557)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EF2 #86F25E
analogous
#805EF2 #CA5EF2 #F25ED0
triadic
#CA5EF2 #F2CA5E #5EF2CA
tetradic
#CA5EF2 #F2805E #86F25E #5ED0F2
square
#CA5EF2 #F2805E #86F25E #5ED0F2
split-complementary
#CA5EF2 #D0F25E #5EF280
monochromatic
#9510C6 #B725ED #CA5EF2 #DD97F7 #EFCFFB

Accessibility & contrast

On white

3.28
#CA5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CA5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EF2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EF2#FFFFFF#000000##000000
##CA5EF21.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#C778A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5ef2;
/* rgb */ color: rgb(202, 94, 242);
/* oklch */ color: oklch(67.4% 0.226 315.8);
Tailwind
colors: {
  custom: {
    50: '#de92f7',
    500: '#ca5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ef2;
$custom-light: #de92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ef2",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 283.784,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67401,
    "c": 0.22605,
    "h": 315.8
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#CA5EF2
secondary
#CBEEBD
accent
#E20440
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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