#C538CB#C538CB

#C538CB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.237 H 326.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C538CB
RGBrgb(197, 56, 203)
HSLhsl(298, 59%, 51%)
HSVhsv(298, 72%, 80%)
CMYKcmyk(3%, 72.4%, 0%, 20.4%)
CIE-LABlab(50.70, 71.62, -47.40)
CIE-LCHlch(50.70, 85.89, 326.50°)
OKLaboklab(60.62% 0.197 -0.1317)
OKLCHoklch(60.62% 0.237 326.2)
XYZxyz(35.2189, 19.0128, 58.3032)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538CB #3ECB38
analogous
#7B38CB #C538CB #CB3887
triadic
#C538CB #CBC538 #38CBC5
tetradic
#C538CB #CB7B38 #3ECB38 #3887CB
square
#C538CB #CB7B38 #3ECB38 #3887CB
split-complementary
#C538CB #87CB38 #38CB7B
monochromatic
#691C6C #98299D #C538CB #D369D8 #E199E4

Accessibility & contrast

On white

4.37
#C538CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C538CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538CB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538CB#FFFFFF#000000##000000
##C538CB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCF
Deuteranopia (green-blind)
#5A7FC7
Tritanopia (blue-blind)
#CA507F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c538cb;
/* rgb */ color: rgb(197, 56, 203);
/* oklch */ color: oklch(60.6% 0.237 326.2);
Tailwind
colors: {
  custom: {
    50: '#db7ddb',
    500: '#c538cb',
    950: '#000000',
  },
}
SCSS
$custom: #c538cb;
$custom-light: #db7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#c538cb",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 297.551,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.23699,
    "h": 326.2
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#C538CB
secondary
#91D08F
accent
#E2464C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C538CB

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

Preview Lab → · Contrast checker → · Palette generator →

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