#CA58BA#CA58BA

#CA58BA is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.7% C 0.185 H 333.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CA58BA
RGBrgb(202, 88, 186)
HSLhsl(308, 52%, 57%)
HSVhsv(308, 56%, 79%)
CMYKcmyk(0%, 56.4%, 7.9%, 20.8%)
CIE-LABlab(55.16, 57.41, -30.54)
CIE-LCHlch(55.16, 65.03, 331.99°)
OKLaboklab(63.73% 0.1651 -0.0832)
OKLCHoklch(63.73% 0.185 333.2)
XYZxyz(36.7098, 23.0838, 48.9670)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA58BA #58CA68
analogous
#A158CA #CA58BA #CA5881
triadic
#CA58BA #BACA58 #58BACA
tetradic
#CA58BA #CAA158 #58CA68 #5881CA
square
#CA58BA #CAA158 #58CA68 #5881CA
split-complementary
#CA58BA #81CA58 #58CAA1
monochromatic
#7F2873 #AE379D #CA58BA #D986CD #E7B5E0

Accessibility & contrast

On white

3.74
#CA58BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CA58BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA58BA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA58BA#FFFFFF#000000##000000
##CA58BA1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABD
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#D26081
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca58ba;
/* rgb */ color: rgb(202, 88, 186);
/* oklch */ color: oklch(63.7% 0.185 333.2);
Tailwind
colors: {
  custom: {
    50: '#dd8dcf',
    500: '#ca58ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca58ba;
$custom-light: #dd8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca58ba",
  "rgb": {
    "r": 202,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 308.421,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63727,
    "c": 0.18491,
    "h": 333.2
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#CA58BA
secondary
#A8D6AE
accent
#DB614D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CA58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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