#CA51CB#CA51CB

#CA51CB is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.7% C 0.209 H 327.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CA51CB
RGBrgb(202, 81, 203)
HSLhsl(300, 54%, 56%)
HSVhsv(300, 60%, 80%)
CMYKcmyk(0.5%, 60.1%, 0%, 20.4%)
CIE-LABlab(54.82, 63.34, -40.83)
CIE-LCHlch(54.82, 75.36, 327.19°)
OKLaboklab(63.74% 0.176 -0.1127)
OKLCHoklch(63.74% 0.209 327.4)
XYZxyz(38.0784, 22.7556, 58.8750)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51CB #52CB51
analogous
#8D51CB #CA51CB #CB518F
triadic
#CA51CB #CBCA51 #51CBCA
tetradic
#CA51CB #CB8D51 #52CB51 #518FCB
square
#CA51CB #CB8D51 #52CB51 #518FCB
split-complementary
#CA51CB #8FCB51 #51CB8D
monochromatic
#7C257C #AB33AC #CA51CB #D880D9 #E7AFE7

Accessibility & contrast

On white

3.78
#CA51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CA51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51CB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51CB#FFFFFF#000000##000000
##CA51CB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#D06187
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca51cb;
/* rgb */ color: rgb(202, 81, 203);
/* oklch */ color: oklch(63.7% 0.209 327.4);
Tailwind
colors: {
  custom: {
    50: '#dd89db',
    500: '#ca51cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca51cb;
$custom-light: #dd89db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51cb",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 299.508,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63737,
    "c": 0.20899,
    "h": 327.4
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

primary
#CA51CB
secondary
#A3D5A3
accent
#DD4A4C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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