#8538C4#8538C4

#8538C4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.208 H 305.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8538C4
RGBrgb(133, 56, 196)
HSLhsl(273, 56%, 49%)
HSVhsv(273, 71%, 77%)
CMYKcmyk(32.1%, 71.4%, 0%, 23.1%)
CIE-LABlab(40.90, 57.26, -59.61)
CIE-LCHlch(40.90, 82.65, 313.85°)
OKLaboklab(51.6% 0.1199 -0.1694)
OKLCHoklch(51.6% 0.208 305.3)
XYZxyz(21.0486, 11.8006, 53.3827)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538C4 #77C438
analogous
#3F38C4 #8538C4 #C438BD
triadic
#8538C4 #C48538 #38C485
tetradic
#8538C4 #C43F38 #77C438 #38BDC4
square
#8538C4 #C43F38 #77C438 #38BDC4
split-complementary
#8538C4 #BDC438 #38C43F
monochromatic
#441D65 #652A94 #8538C4 #A266D3 #BF96E1

Accessibility & contrast

On white

6.25
#8538C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8538C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538C4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538C4#FFFFFF#000000##FFFFFF
##8538C41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#79597A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8538c4;
/* rgb */ color: rgb(133, 56, 196);
/* oklch */ color: oklch(51.6% 0.208 305.3);
Tailwind
colors: {
  custom: {
    50: '#ae75d7',
    500: '#8538c4',
    950: '#000000',
  },
}
SCSS
$custom: #8538c4;
$custom-light: #ae75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8538c4",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 273,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.20755,
    "h": 305.3
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#8538C4
secondary
#A9CC8C
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8538C4

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

Preview Lab → · Contrast checker → · Palette generator →

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