#CA25B3#CA25B3

#CA25B3 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.239 H 335.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CA25B3
RGBrgb(202, 37, 179)
HSLhsl(308, 69%, 47%)
HSVhsv(308, 82%, 79%)
CMYKcmyk(0%, 81.7%, 11.4%, 20.8%)
CIE-LABlab(48.43, 74.25, -37.00)
CIE-LCHlch(48.43, 82.95, 333.51°)
OKLaboklab(58.74% 0.217 -0.1013)
OKLCHoklch(58.74% 0.239 335)
XYZxyz(33.1558, 17.1375, 44.2008)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA25B3 #25CA3C
analogous
#8F25CA #CA25B3 #CA2560
triadic
#CA25B3 #B3CA25 #25B3CA
tetradic
#CA25B3 #CA8F25 #25CA3C #2560CA
square
#CA25B3 #CA8F25 #25CA3C #2560CA
split-complementary
#CA25B3 #60CA25 #25CA8F
monochromatic
#631257 #961C85 #CA25B3 #DF4ECA #E881DA

Accessibility & contrast

On white

4.74
#CA25B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CA25B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA25B3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA25B3#FFFFFF#000000##FFFFFF
##CA25B31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B7
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#D4366D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca25b3;
/* rgb */ color: rgb(202, 37, 179);
/* oklch */ color: oklch(58.7% 0.239 335.0);
Tailwind
colors: {
  custom: {
    50: '#df75ca',
    500: '#ca25b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca25b3;
$custom-light: #df75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca25b3",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 308.364,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.23945,
    "h": 335
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#CA25B3
secondary
#7AD186
accent
#EC543C
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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