#CA5EC9#CA5EC9

#CA5EC9 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.188 H 327.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CA5EC9
RGBrgb(202, 94, 201)
HSLhsl(301, 50%, 58%)
HSVhsv(301, 53%, 79%)
CMYKcmyk(0%, 53.5%, 0.5%, 20.8%)
CIE-LABlab(56.86, 57.17, -36.48)
CIE-LCHlch(56.86, 67.82, 327.46°)
OKLaboklab(65.2% 0.1594 -0.1003)
OKLCHoklch(65.2% 0.188 327.8)
XYZxyz(38.9019, 24.7813, 57.9813)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EC9 #5ECA5F
analogous
#955ECA #CA5EC9 #CA5E93
triadic
#CA5EC9 #C9CA5E #5EC9CA
tetradic
#CA5EC9 #CA955E #5ECA5F #5E93CA
square
#CA5EC9 #CA955E #5ECA5F #5E93CA
split-complementary
#CA5EC9 #93CA5E #5ECA95
monochromatic
#832B82 #B13AB0 #CA5EC9 #D98CD8 #E8BAE8

Accessibility & contrast

On white

3.53
#CA5EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CA5EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EC9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EC9#FFFFFF#000000##000000
##CA5EC91.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCC
Deuteranopia (green-blind)
#768DC6
Tritanopia (blue-blind)
#D06A8B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5ec9;
/* rgb */ color: rgb(202, 94, 201);
/* oklch */ color: oklch(65.2% 0.188 327.8);
Tailwind
colors: {
  custom: {
    50: '#dd91da',
    500: '#ca5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ec9;
$custom-light: #dd91da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ec9",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 300.556,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65199,
    "c": 0.18829,
    "h": 327.8
  },
  "luminance": 0.24779
}

Semantic roles & 50–950 ramp

primary
#CA5EC9
secondary
#ACD7AD
accent
#DA4F4E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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