#CA55B2#CA55B2

#CA55B2 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.183 H 336.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CA55B2
RGBrgb(202, 85, 178)
HSLhsl(312, 52%, 56%)
HSVhsv(312, 58%, 79%)
CMYKcmyk(0%, 57.9%, 11.9%, 20.8%)
CIE-LABlab(54.31, 57.49, -27.23)
CIE-LCHlch(54.31, 63.61, 334.66°)
OKLaboklab(62.99% 0.1677 -0.0738)
OKLCHoklch(62.99% 0.183 336.3)
XYZxyz(35.6418, 22.2707, 44.5323)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA55B2 #55CA6D
analogous
#A855CA #CA55B2 #CA5578
triadic
#CA55B2 #B2CA55 #55B2CA
tetradic
#CA55B2 #CAA855 #55CA6D #5578CA
square
#CA55B2 #CAA855 #55CA6D #5578CA
split-complementary
#CA55B2 #78CA55 #55CAA8
monochromatic
#7D276C #AC3694 #CA55B2 #D984C7 #E7B2DC

Accessibility & contrast

On white

3.85
#CA55B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CA55B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA55B2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA55B2#FFFFFF#000000##000000
##CA55B21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7A88AF
Tritanopia (blue-blind)
#D45B7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca55b2;
/* rgb */ color: rgb(202, 85, 178);
/* oklch */ color: oklch(63.0% 0.183 336.3);
Tailwind
colors: {
  custom: {
    50: '#dd8bc9',
    500: '#ca55b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca55b2;
$custom-light: #dd8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca55b2",
  "rgb": {
    "r": 202,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 312.308,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62992,
    "c": 0.18323,
    "h": 336.3
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#CA55B2
secondary
#A5D5AF
accent
#DC694C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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