#C538B9#C538B9

#C538B9 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.223 H 331.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C538B9
RGBrgb(197, 56, 185)
HSLhsl(305, 56%, 50%)
HSVhsv(305, 72%, 77%)
CMYKcmyk(0%, 71.6%, 6.1%, 22.7%)
CIE-LABlab(49.74, 68.75, -38.50)
CIE-LCHlch(49.74, 78.79, 330.75°)
OKLaboklab(59.62% 0.1968 -0.1059)
OKLCHoklch(59.62% 0.223 331.7)
XYZxyz(33.1971, 18.2041, 47.6548)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B9 #38C544
analogous
#8A38C5 #C538B9 #C53873
triadic
#C538B9 #B9C538 #38B9C5
tetradic
#C538B9 #C58A38 #38C544 #3873C5
square
#C538B9 #C58A38 #38C544 #3873C5
split-complementary
#C538B9 #73C538 #38C58A
monochromatic
#661D5F #952A8C #C538B9 #D467CA #E196DB

Accessibility & contrast

On white

4.53
#C538B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C538B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538B9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B9#FFFFFF#000000##000000
##C538B91.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#CD4875
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538b9;
/* rgb */ color: rgb(197, 56, 185);
/* oklch */ color: oklch(59.6% 0.223 331.7);
Tailwind
colors: {
  custom: {
    50: '#da7cce',
    500: '#c538b9',
    950: '#000000',
  },
}
SCSS
$custom: #c538b9;
$custom-light: #da7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b9",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 305.106,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59621,
    "c": 0.22345,
    "h": 331.7
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#C538B9
secondary
#8CCD92
accent
#DF5649
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C538B9

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

Preview Lab → · Contrast checker → · Palette generator →

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