#CA38C3#CA38C3

#CA38C3 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.233 H 330.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA38C3
RGBrgb(202, 56, 195)
HSLhsl(303, 58%, 51%)
HSVhsv(303, 72%, 79%)
CMYKcmyk(0%, 72.3%, 3.5%, 20.8%)
CIE-LABlab(51.07, 71.40, -42.16)
CIE-LCHlch(51.07, 82.92, 329.44°)
OKLaboklab(60.9% 0.2022 -0.1164)
OKLCHoklch(60.9% 0.233 330.1)
XYZxyz(35.6214, 19.3278, 53.4737)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38C3 #38CA3F
analogous
#8838CA #CA38C3 #CA387A
triadic
#CA38C3 #C3CA38 #38C3CA
tetradic
#CA38C3 #CA8838 #38CA3F #387ACA
square
#CA38C3 #CA8838 #38CA3F #387ACA
split-complementary
#CA38C3 #7ACA38 #38CA88
monochromatic
#6B1D67 #9B2996 #CA38C3 #D768D2 #E499E0

Accessibility & contrast

On white

4.32
#CA38C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CA38C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38C3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38C3#FFFFFF#000000##000000
##CA38C31.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#266DC7
Deuteranopia (green-blind)
#6481BF
Tritanopia (blue-blind)
#D14B7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca38c3;
/* rgb */ color: rgb(202, 56, 195);
/* oklch */ color: oklch(60.9% 0.233 330.1);
Tailwind
colors: {
  custom: {
    50: '#de7dd5',
    500: '#ca38c3',
    950: '#000000',
  },
}
SCSS
$custom: #ca38c3;
$custom-light: #de7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38c3",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 302.877,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.23333,
    "h": 330.1
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#CA38C3
secondary
#8ECF92
accent
#E14E47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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