#CA4EB8#CA4EB8

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

Color values

HEX#CA4EB8
RGBrgb(202, 78, 184)
HSLhsl(309, 54%, 55%)
HSVhsv(309, 61%, 79%)
CMYKcmyk(0%, 61.4%, 8.9%, 20.8%)
CIE-LABlab(53.46, 61.48, -32.03)
CIE-LCHlch(53.46, 69.32, 332.48°)
OKLaboklab(62.45% 0.1776 -0.0874)
OKLCHoklch(62.45% 0.198 333.8)
XYZxyz(35.7334, 21.4688, 47.6000)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EB8 #4ECA60
analogous
#9E4ECA #CA4EB8 #CA4E7A
triadic
#CA4EB8 #B8CA4E #4EB8CA
tetradic
#CA4EB8 #CA9E4E #4ECA60 #4E7ACA
square
#CA4EB8 #CA9E4E #4ECA60 #4E7ACA
split-complementary
#CA4EB8 #7ACA4E #4ECA9E
monochromatic
#79246D #A83297 #CA4EB8 #D87DCB #E6ACDE

Accessibility & contrast

On white

3.97
#CA4EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CA4EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EB8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EB8#FFFFFF#000000##000000
##CA4EB81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#7486B5
Tritanopia (blue-blind)
#D3577C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca4eb8;
/* rgb */ color: rgb(202, 78, 184);
/* oklch */ color: oklch(62.5% 0.198 333.8);
Tailwind
colors: {
  custom: {
    50: '#dd87cd',
    500: '#ca4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #ca4eb8;
$custom-light: #dd87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4eb8",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 308.71,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.19795,
    "h": 333.8
  },
  "luminance": 0.21466
}

Semantic roles & 50–950 ramp

primary
#CA4EB8
secondary
#A0D4A7
accent
#DD604B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C13
muted
#847D82

Preview Lab

Preview with #CA4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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