#CA5BCA#CA5BCA

#CA5BCA is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.9% C 0.194 H 327.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CA5BCA
RGBrgb(202, 91, 202)
HSLhsl(300, 51%, 57%)
HSVhsv(300, 55%, 79%)
CMYKcmyk(0%, 55%, 0%, 20.8%)
CIE-LABlab(56.39, 58.74, -37.79)
CIE-LCHlch(56.39, 69.85, 327.25°)
OKLaboklab(64.87% 0.1634 -0.104)
OKLCHoklch(64.87% 0.194 327.5)
XYZxyz(38.7583, 24.3053, 58.5156)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BCA #5BCA5B
analogous
#935BCA #CA5BCA #CA5B93
triadic
#CA5BCA #CACA5B #5BCACA
tetradic
#CA5BCA #CA935B #5BCA5B #5B93CA
square
#CA5BCA #CA935B #5BCA5B #5B93CA
split-complementary
#CA5BCA #93CA5B #5BCA93
monochromatic
#812A81 #AF39AF #CA5BCA #D989D9 #E8B8E8

Accessibility & contrast

On white

3.58
#CA5BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CA5BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BCA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BCA#FFFFFF#000000##000000
##CA5BCA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#738CC7
Tritanopia (blue-blind)
#D0688A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5bca;
/* rgb */ color: rgb(202, 91, 202);
/* oklch */ color: oklch(64.9% 0.194 327.5);
Tailwind
colors: {
  custom: {
    50: '#dd8fda',
    500: '#ca5bca',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bca;
$custom-light: #dd8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bca",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64869,
    "c": 0.19372,
    "h": 327.5
  },
  "luminance": 0.24303
}

Semantic roles & 50–950 ramp

primary
#CA5BCA
secondary
#AAD7AA
accent
#DB4D4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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