#8538CC#8538CC

#8538CC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.216 H 303.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8538CC
RGBrgb(133, 56, 204)
HSLhsl(271, 59%, 51%)
HSVhsv(271, 73%, 80%)
CMYKcmyk(34.8%, 72.5%, 0%, 20%)
CIE-LABlab(41.49, 59.11, -63.29)
CIE-LCHlch(41.49, 86.60, 313.04°)
OKLaboklab(52.21% 0.1185 -0.1803)
OKLCHoklch(52.21% 0.216 303.3)
XYZxyz(21.9836, 12.1745, 58.3068)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538CC #7FCC38
analogous
#3B38CC #8538CC #CC38C9
triadic
#8538CC #CC8538 #38CC85
tetradic
#8538CC #CC3B38 #7FCC38 #38C9CC
square
#8538CC #CC3B38 #7FCC38 #38C9CC
split-complementary
#8538CC #C9CC38 #38CC3B
monochromatic
#461C6E #66299E #8538CC #A369D8 #C199E5

Accessibility & contrast

On white

6.11
#8538CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8538CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538CC#FFFFFF#000000##FFFFFF
##8538CC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#775C7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8538cc;
/* rgb */ color: rgb(133, 56, 204);
/* oklch */ color: oklch(52.2% 0.216 303.3);
Tailwind
colors: {
  custom: {
    50: '#ae76dc',
    500: '#8538cc',
    950: '#000000',
  },
}
SCSS
$custom: #8538cc;
$custom-light: #ae76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8538cc",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 271.216,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52205,
    "c": 0.21569,
    "h": 303.3
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#8538CC
secondary
#AFD18F
accent
#E24591
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8538CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8538CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva