#CA38C0#CA38C0

#CA38C0 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.231 H 331.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CA38C0
RGBrgb(202, 56, 192)
HSLhsl(304, 58%, 51%)
HSVhsv(304, 72%, 79%)
CMYKcmyk(0%, 72.3%, 5%, 20.8%)
CIE-LABlab(50.91, 70.94, -40.67)
CIE-LCHlch(50.91, 81.77, 330.17°)
OKLaboklab(60.73% 0.2022 -0.112)
OKLCHoklch(60.73% 0.231 331)
XYZxyz(35.2857, 19.1935, 51.7052)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38C0 #38CA42
analogous
#8B38CA #CA38C0 #CA3877
triadic
#CA38C0 #C0CA38 #38C0CA
tetradic
#CA38C0 #CA8B38 #38CA42 #3877CA
square
#CA38C0 #CA8B38 #38CA42 #3877CA
split-complementary
#CA38C0 #77CA38 #38CA8B
monochromatic
#6B1D66 #9B2994 #CA38C0 #D768CF #E499DF

Accessibility & contrast

On white

4.34
#CA38C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CA38C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38C0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38C0#FFFFFF#000000##000000
##CA38C01.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC4
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#D24A79
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca38c0;
/* rgb */ color: rgb(202, 56, 192);
/* oklch */ color: oklch(60.7% 0.231 331.0);
Tailwind
colors: {
  custom: {
    50: '#de7dd3',
    500: '#ca38c0',
    950: '#000000',
  },
}
SCSS
$custom: #ca38c0;
$custom-light: #de7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38c0",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 304.11,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60733,
    "c": 0.23113,
    "h": 331
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#CA38C0
secondary
#8ECF93
accent
#E15147
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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