#CA38C5#CA38C5

#CA38C5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.235 H 329.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA38C5
RGBrgb(202, 56, 197)
HSLhsl(302, 58%, 51%)
HSVhsv(302, 72%, 79%)
CMYKcmyk(0%, 72.3%, 2.5%, 20.8%)
CIE-LABlab(51.17, 71.72, -43.15)
CIE-LCHlch(51.17, 83.70, 328.97°)
OKLaboklab(61.01% 0.2023 -0.1192)
OKLCHoklch(61.01% 0.235 329.5)
XYZxyz(35.8491, 19.4188, 54.6726)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38C5 #38CA3D
analogous
#8638CA #CA38C5 #CA387C
triadic
#CA38C5 #C5CA38 #38C5CA
tetradic
#CA38C5 #CA8638 #38CA3D #387CCA
square
#CA38C5 #CA8638 #38CA3D #387CCA
split-complementary
#CA38C5 #7CCA38 #38CA86
monochromatic
#6B1D68 #9B2998 #CA38C5 #D768D3 #E499E1

Accessibility & contrast

On white

4.30
#CA38C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CA38C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38C5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38C5#FFFFFF#000000##000000
##CA38C51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#6381C1
Tritanopia (blue-blind)
#D14C7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca38c5;
/* rgb */ color: rgb(202, 56, 197);
/* oklch */ color: oklch(61.0% 0.235 329.5);
Tailwind
colors: {
  custom: {
    50: '#de7dd7',
    500: '#ca38c5',
    950: '#000000',
  },
}
SCSS
$custom: #ca38c5;
$custom-light: #de7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38c5",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 302.055,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.2348,
    "h": 329.5
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#CA38C5
secondary
#8ECF91
accent
#E14C47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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