#CA38BF#CA38BF

#CA38BF is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.230 H 331.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA38BF
RGBrgb(202, 56, 191)
HSLhsl(305, 58%, 51%)
HSVhsv(305, 72%, 79%)
CMYKcmyk(0%, 72.3%, 5.4%, 20.8%)
CIE-LABlab(50.86, 70.78, -40.17)
CIE-LCHlch(50.86, 81.39, 330.43°)
OKLaboklab(60.68% 0.2021 -0.1106)
OKLCHoklch(60.68% 0.23 331.3)
XYZxyz(35.1752, 19.1493, 51.1237)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38BF #38CA43
analogous
#8C38CA #CA38BF #CA3876
triadic
#CA38BF #BFCA38 #38BFCA
tetradic
#CA38BF #CA8C38 #38CA43 #3876CA
square
#CA38BF #CA8C38 #38CA43 #3876CA
split-complementary
#CA38BF #76CA38 #38CA8C
monochromatic
#6B1D65 #9B2993 #CA38BF #D768CF #E499DE

Accessibility & contrast

On white

4.35
#CA38BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CA38BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38BF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38BF#FFFFFF#000000##000000
##CA38BF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#6680BB
Tritanopia (blue-blind)
#D24978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca38bf;
/* rgb */ color: rgb(202, 56, 191);
/* oklch */ color: oklch(60.7% 0.230 331.3);
Tailwind
colors: {
  custom: {
    50: '#de7dd3',
    500: '#ca38bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca38bf;
$custom-light: #de7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38bf",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 304.521,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.2304,
    "h": 331.3
  },
  "luminance": 0.19146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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