#CA51D5#CA51D5

#CA51D5 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.217 H 324.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CA51D5
RGBrgb(202, 81, 213)
HSLhsl(295, 61%, 58%)
HSVhsv(295, 62%, 84%)
CMYKcmyk(5.2%, 62%, 0%, 16.5%)
CIE-LABlab(55.33, 65.08, -45.73)
CIE-LCHlch(55.33, 79.54, 324.91°)
OKLaboklab(64.27% 0.1766 -0.1269)
OKLCHoklch(64.27% 0.217 324.3)
XYZxyz(39.3088, 23.2478, 65.3547)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51D5 #5CD551
analogous
#8851D5 #CA51D5 #D5519E
triadic
#CA51D5 #D5CA51 #51D5CA
tetradic
#CA51D5 #D58851 #5CD551 #519ED5
square
#CA51D5 #D58851 #5CD551 #519ED5
split-complementary
#CA51D5 #9ED551 #51D588
monochromatic
#81218A #B02DBC #CA51D5 #D982E1 #E8B4ED

Accessibility & contrast

On white

3.72
#CA51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CA51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51D5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51D5#FFFFFF#000000##000000
##CA51D51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#678AD2
Tritanopia (blue-blind)
#CE648C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca51d5;
/* rgb */ color: rgb(202, 81, 213);
/* oklch */ color: oklch(64.3% 0.217 324.3);
Tailwind
colors: {
  custom: {
    50: '#dd8ae2',
    500: '#ca51d5',
    950: '#000000',
  },
}
SCSS
$custom: #ca51d5;
$custom-light: #dd8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51d5",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 295,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64269,
    "c": 0.21744,
    "h": 324.3
  },
  "luminance": 0.23246
}

Semantic roles & 50–950 ramp

primary
#CA51D5
secondary
#ABDBA6
accent
#E44451
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CA51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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