#CA38BD#CA38BD

#CA38BD is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.229 H 331.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CA38BD
RGBrgb(202, 56, 189)
HSLhsl(305, 58%, 51%)
HSVhsv(305, 72%, 79%)
CMYKcmyk(0%, 72.3%, 6.4%, 20.8%)
CIE-LABlab(50.76, 70.48, -39.17)
CIE-LCHlch(50.76, 80.63, 330.94°)
OKLaboklab(60.57% 0.202 -0.1077)
OKLCHoklch(60.57% 0.229 331.9)
XYZxyz(34.9567, 19.0619, 49.9725)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38BD #38CA45
analogous
#8E38CA #CA38BD #CA3874
triadic
#CA38BD #BDCA38 #38BDCA
tetradic
#CA38BD #CA8E38 #38CA45 #3874CA
square
#CA38BD #CA8E38 #38CA45 #3874CA
split-complementary
#CA38BD #74CA38 #38CA8E
monochromatic
#6B1D64 #9B2991 #CA38BD #D768CD #E499DD

Accessibility & contrast

On white

4.36
#CA38BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CA38BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38BD#FFFFFF#000000##000000
##CA38BD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#D24877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca38bd;
/* rgb */ color: rgb(202, 56, 189);
/* oklch */ color: oklch(60.6% 0.229 331.9);
Tailwind
colors: {
  custom: {
    50: '#de7dd1',
    500: '#ca38bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca38bd;
$custom-light: #de7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38bd",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 305.342,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.22895,
    "h": 331.9
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#CA38BD
secondary
#8ECF94
accent
#E15447
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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