#CA51D7#CA51D7

#CA51D7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.219 H 323.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CA51D7
RGBrgb(202, 81, 215)
HSLhsl(294, 63%, 58%)
HSVhsv(294, 62%, 84%)
CMYKcmyk(6%, 62.3%, 0%, 15.7%)
CIE-LABlab(55.43, 65.44, -46.70)
CIE-LCHlch(55.43, 80.39, 324.49°)
OKLaboklab(64.38% 0.1767 -0.1297)
OKLCHoklch(64.38% 0.219 323.7)
XYZxyz(39.5642, 23.3499, 66.6998)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51D7 #5ED751
analogous
#8751D7 #CA51D7 #D751A1
triadic
#CA51D7 #D7CA51 #51D7CA
tetradic
#CA51D7 #D78751 #5ED751 #51A1D7
square
#CA51D7 #D78751 #5ED751 #51A1D7
split-complementary
#CA51D7 #A1D751 #51D787
monochromatic
#83208D #B12CBF #CA51D7 #D983E2 #E8B5EE

Accessibility & contrast

On white

3.70
#CA51D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CA51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51D7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51D7#FFFFFF#000000##000000
##CA51D71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDB
Deuteranopia (green-blind)
#668AD4
Tritanopia (blue-blind)
#CD658D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca51d7;
/* rgb */ color: rgb(202, 81, 215);
/* oklch */ color: oklch(64.4% 0.219 323.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ae4',
    500: '#ca51d7',
    950: '#000000',
  },
}
SCSS
$custom: #ca51d7;
$custom-light: #dd8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51d7",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 294.179,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64379,
    "c": 0.21916,
    "h": 323.7
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#CA51D7
secondary
#ACDDA7
accent
#E64252
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C15
muted
#847D84

Preview Lab

Preview with #CA51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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