#CA5FE2#CA5FE2

#CA5FE2 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.6% C 0.210 H 319.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CA5FE2
RGBrgb(202, 95, 226)
HSLhsl(289, 69%, 63%)
HSVhsv(289, 58%, 89%)
CMYKcmyk(10.6%, 58%, 0%, 11.4%)
CIE-LABlab(58.26, 61.29, -48.42)
CIE-LCHlch(58.26, 78.11, 321.69°)
OKLaboklab(66.62% 0.1604 -0.1348)
OKLCHoklch(66.62% 0.21 319.9)
XYZxyz(42.1751, 26.2338, 74.7788)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FE2 #77E25F
analogous
#895FE2 #CA5FE2 #E25FB8
triadic
#CA5FE2 #E2CA5F #5FE2CA
tetradic
#CA5FE2 #E2895F #77E25F #5FB8E2
square
#CA5FE2 #E2895F #77E25F #5FB8E2
split-complementary
#CA5FE2 #B8E25F #5FE289
monochromatic
#8F1EA8 #B92BD9 #CA5FE2 #DB93EB #ECC7F5

Accessibility & contrast

On white

3.36
#CA5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CA5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FE2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FE2#FFFFFF#000000##000000
##CA5FE21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#CB7398
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5fe2;
/* rgb */ color: rgb(202, 95, 226);
/* oklch */ color: oklch(66.6% 0.210 319.9);
Tailwind
colors: {
  custom: {
    50: '#dd92eb',
    500: '#ca5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fe2;
$custom-light: #dd92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fe2",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 289.008,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66619,
    "c": 0.20952,
    "h": 319.9
  },
  "luminance": 0.26232
}

Semantic roles & 50–950 ramp

primary
#CA5FE2
secondary
#BFE6B7
accent
#D11437
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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