#CA4EB9#CA4EB9

#CA4EB9 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.5% C 0.199 H 333.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CA4EB9
RGBrgb(202, 78, 185)
HSLhsl(308, 54%, 55%)
HSVhsv(308, 61%, 79%)
CMYKcmyk(0%, 61.4%, 8.4%, 20.8%)
CIE-LABlab(53.50, 61.64, -32.54)
CIE-LCHlch(53.50, 69.70, 332.17°)
OKLaboklab(62.5% 0.1777 -0.0888)
OKLCHoklch(62.5% 0.199 333.4)
XYZxyz(35.8386, 21.5108, 48.1540)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EB9 #4ECA5F
analogous
#9D4ECA #CA4EB9 #CA4E7B
triadic
#CA4EB9 #B9CA4E #4EB9CA
tetradic
#CA4EB9 #CA9D4E #4ECA5F #4E7BCA
square
#CA4EB9 #CA9D4E #4ECA5F #4E7BCA
split-complementary
#CA4EB9 #7BCA4E #4ECA9D
monochromatic
#79246E #A83298 #CA4EB9 #D87DCC #E6ACDE

Accessibility & contrast

On white

3.96
#CA4EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CA4EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EB9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EB9#FFFFFF#000000##000000
##CA4EB91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BC
Deuteranopia (green-blind)
#7386B6
Tritanopia (blue-blind)
#D3577C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca4eb9;
/* rgb */ color: rgb(202, 78, 185);
/* oklch */ color: oklch(62.5% 0.199 333.4);
Tailwind
colors: {
  custom: {
    50: '#dd87ce',
    500: '#ca4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #ca4eb9;
$custom-light: #dd87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4eb9",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 308.226,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.625,
    "c": 0.19871,
    "h": 333.4
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#CA4EB9
secondary
#A0D4A7
accent
#DD5F4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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