#CA51D9#CA51D9

#CA51D9 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.221 H 323.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CA51D9
RGBrgb(202, 81, 217)
HSLhsl(293, 64%, 58%)
HSVhsv(293, 63%, 85%)
CMYKcmyk(6.9%, 62.7%, 0%, 14.9%)
CIE-LABlab(55.54, 65.79, -47.67)
CIE-LCHlch(55.54, 81.25, 324.08°)
OKLaboklab(64.49% 0.1767 -0.1325)
OKLCHoklch(64.49% 0.221 323.1)
XYZxyz(39.8227, 23.4533, 68.0616)
Luminance0.2345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51D9 #60D951
analogous
#8651D9 #CA51D9 #D951A4
triadic
#CA51D9 #D9CA51 #51D9CA
tetradic
#CA51D9 #D98651 #60D951 #51A4D9
square
#CA51D9 #D98651 #60D951 #51A4D9
split-complementary
#CA51D9 #A4D951 #51D986
monochromatic
#841F90 #B22AC2 #CA51D9 #D983E4 #E9B5EF

Accessibility & contrast

On white

3.69
#CA51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CA51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51D9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51D9#FFFFFF#000000##000000
##CA51D91.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347CDD
Deuteranopia (green-blind)
#658AD5
Tritanopia (blue-blind)
#CD668E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca51d9;
/* rgb */ color: rgb(202, 81, 217);
/* oklch */ color: oklch(64.5% 0.221 323.1);
Tailwind
colors: {
  custom: {
    50: '#dd8ae5',
    500: '#ca51d9',
    950: '#000000',
  },
}
SCSS
$custom: #ca51d9;
$custom-light: #dd8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51d9",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 293.382,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64489,
    "c": 0.22089,
    "h": 323.1
  },
  "luminance": 0.23451
}

Semantic roles & 50–950 ramp

primary
#CA51D9
secondary
#AEDEA8
accent
#E74153
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #CA51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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