#CA5FC4#CA5FC4

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

Color values

HEX#CA5FC4
RGBrgb(202, 95, 196)
HSLhsl(303, 50%, 58%)
HSVhsv(303, 53%, 79%)
CMYKcmyk(0%, 53%, 3%, 20.8%)
CIE-LABlab(56.81, 55.83, -33.71)
CIE-LCHlch(56.81, 65.22, 328.88°)
OKLaboklab(65.09% 0.1573 -0.0923)
OKLCHoklch(65.09% 0.182 329.6)
XYZxyz(38.4127, 24.7289, 54.9637)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC4 #5FCA65
analogous
#9A5FCA #CA5FC4 #CA5F8F
triadic
#CA5FC4 #C4CA5F #5FC4CA
tetradic
#CA5FC4 #CA9A5F #5FCA65 #5F8FCA
square
#CA5FC4 #CA9A5F #5FCA65 #5F8FCA
split-complementary
#CA5FC4 #8FCA5F #5FCA9A
monochromatic
#832B7E #B13BAA #CA5FC4 #D98DD5 #E8BBE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5FC4#FFFFFF#000000##000000
##CA5FC41.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)
#587FC7
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#D06989
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5fc4;
/* rgb */ color: rgb(202, 95, 196);
/* oklch */ color: oklch(65.1% 0.182 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd91d6',
    500: '#ca5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc4;
$custom-light: #dd91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc4",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 303.364,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65087,
    "c": 0.18243,
    "h": 329.6
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#CA5FC4
secondary
#ADD8AF
accent
#DA564E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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