#CA57BA#CA57BA

#CA57BA is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.6% C 0.186 H 333.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CA57BA
RGBrgb(202, 87, 186)
HSLhsl(308, 52%, 57%)
HSVhsv(308, 57%, 79%)
CMYKcmyk(0%, 56.9%, 7.9%, 20.8%)
CIE-LABlab(54.99, 57.86, -30.80)
CIE-LCHlch(54.99, 65.55, 331.97°)
OKLaboklab(63.6% 0.1664 -0.084)
OKLCHoklch(63.6% 0.186 333.2)
XYZxyz(36.6283, 22.9207, 48.9398)
Luminance0.2292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57BA #57CA67
analogous
#A157CA #CA57BA #CA5781
triadic
#CA57BA #BACA57 #57BACA
tetradic
#CA57BA #CAA157 #57CA67 #5781CA
square
#CA57BA #CAA157 #57CA67 #5781CA
split-complementary
#CA57BA #81CA57 #57CAA1
monochromatic
#7F2873 #AD379D #CA57BA #D986CD #E7B4E0

Accessibility & contrast

On white

3.76
#CA57BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CA57BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57BA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57BA#FFFFFF#000000##000000
##CA57BA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#D25F81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca57ba;
/* rgb */ color: rgb(202, 87, 186);
/* oklch */ color: oklch(63.6% 0.186 333.2);
Tailwind
colors: {
  custom: {
    50: '#dd8ccf',
    500: '#ca57ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca57ba;
$custom-light: #dd8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57ba",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 308.348,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63603,
    "c": 0.18642,
    "h": 333.2
  },
  "luminance": 0.22918
}

Semantic roles & 50–950 ramp

primary
#CA57BA
secondary
#A7D6AD
accent
#DB604C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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