#8538C6#8538C6

#8538C6 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.210 H 304.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8538C6
RGBrgb(133, 56, 198)
HSLhsl(273, 56%, 50%)
HSVhsv(273, 72%, 78%)
CMYKcmyk(32.8%, 71.7%, 0%, 22.4%)
CIE-LABlab(41.04, 57.72, -60.53)
CIE-LCHlch(41.04, 83.64, 313.64°)
OKLaboklab(51.75% 0.1195 -0.1722)
OKLCHoklch(51.75% 0.21 304.8)
XYZxyz(21.2778, 11.8922, 54.5896)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538C6 #79C638
analogous
#3E38C6 #8538C6 #C638C0
triadic
#8538C6 #C68538 #38C685
tetradic
#8538C6 #C63E38 #79C638 #38C0C6
square
#8538C6 #C63E38 #79C638 #38C0C6
split-complementary
#8538C6 #C0C638 #38C63E
monochromatic
#451D67 #652B96 #8538C6 #A267D4 #BF97E2

Accessibility & contrast

On white

6.22
#8538C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8538C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538C6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538C6#FFFFFF#000000##FFFFFF
##8538C61.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#795A7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8538c6;
/* rgb */ color: rgb(133, 56, 198);
/* oklch */ color: oklch(51.7% 0.210 304.8);
Tailwind
colors: {
  custom: {
    50: '#ae75d8',
    500: '#8538c6',
    950: '#000000',
  },
}
SCSS
$custom: #8538c6;
$custom-light: #ae75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8538c6",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 272.535,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.20959,
    "h": 304.8
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#8538C6
secondary
#AACD8D
accent
#DF498E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8538C6

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

Preview Lab → · Contrast checker → · Palette generator →

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