#CA51D6#CA51D6

#CA51D6 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.218 H 324.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CA51D6
RGBrgb(202, 81, 214)
HSLhsl(295, 62%, 58%)
HSVhsv(295, 62%, 84%)
CMYKcmyk(5.6%, 62.1%, 0%, 16.1%)
CIE-LABlab(55.38, 65.26, -46.22)
CIE-LCHlch(55.38, 79.97, 324.69°)
OKLaboklab(64.32% 0.1766 -0.1283)
OKLCHoklch(64.32% 0.218 324)
XYZxyz(39.4361, 23.2987, 66.0252)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51D6 #5DD651
analogous
#8751D6 #CA51D6 #D651A0
triadic
#CA51D6 #D6CA51 #51D6CA
tetradic
#CA51D6 #D68751 #5DD651 #51A0D6
square
#CA51D6 #D68751 #5DD651 #51A0D6
split-complementary
#CA51D6 #A0D651 #51D687
monochromatic
#82218C #B02DBD #CA51D6 #D983E2 #E8B4ED

Accessibility & contrast

On white

3.71
#CA51D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CA51D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51D6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51D6#FFFFFF#000000##000000
##CA51D61.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377BDA
Deuteranopia (green-blind)
#678AD3
Tritanopia (blue-blind)
#CE658C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca51d6;
/* rgb */ color: rgb(202, 81, 214);
/* oklch */ color: oklch(64.3% 0.218 324.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ae3',
    500: '#ca51d6',
    950: '#000000',
  },
}
SCSS
$custom: #ca51d6;
$custom-light: #dd8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51d6",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 294.586,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64324,
    "c": 0.2183,
    "h": 324
  },
  "luminance": 0.23296
}

Semantic roles & 50–950 ramp

primary
#CA51D6
secondary
#ACDCA7
accent
#E54351
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CA51D6

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

Preview Lab → · Contrast checker → · Palette generator →

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