#CA5EC8#CA5EC8

#CA5EC8 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.1% C 0.187 H 328.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CA5EC8
RGBrgb(202, 94, 200)
HSLhsl(301, 50%, 58%)
HSVhsv(301, 53%, 79%)
CMYKcmyk(0%, 53.5%, 1%, 20.8%)
CIE-LABlab(56.82, 57.00, -35.99)
CIE-LCHlch(56.82, 67.41, 327.73°)
OKLaboklab(65.15% 0.1592 -0.0988)
OKLCHoklch(65.15% 0.187 328.2)
XYZxyz(38.7846, 24.7344, 57.3637)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EC8 #5ECA60
analogous
#965ECA #CA5EC8 #CA5E92
triadic
#CA5EC8 #C8CA5E #5EC8CA
tetradic
#CA5EC8 #CA965E #5ECA60 #5E92CA
square
#CA5EC8 #CA965E #5ECA60 #5E92CA
split-complementary
#CA5EC8 #92CA5E #5ECA96
monochromatic
#832B81 #B13AAE #CA5EC8 #D98CD8 #E8BAE7

Accessibility & contrast

On white

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

On black

5.95
#CA5EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EC8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EC8#FFFFFF#000000##000000
##CA5EC81.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#768DC5
Tritanopia (blue-blind)
#D06A8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5ec8;
/* rgb */ color: rgb(202, 94, 200);
/* oklch */ color: oklch(65.1% 0.187 328.2);
Tailwind
colors: {
  custom: {
    50: '#dd91d9',
    500: '#ca5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ec8;
$custom-light: #dd91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ec8",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 301.111,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.18743,
    "h": 328.2
  },
  "luminance": 0.24732
}

Semantic roles & 50–950 ramp

primary
#CA5EC8
secondary
#ACD7AD
accent
#DA504E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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