#8538B7#8538B7

#8538B7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.194 H 308.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8538B7
RGBrgb(133, 56, 183)
HSLhsl(276, 53%, 47%)
HSVhsv(276, 69%, 72%)
CMYKcmyk(27.3%, 69.4%, 0%, 28.2%)
CIE-LABlab(39.97, 54.30, -53.49)
CIE-LCHlch(39.97, 76.22, 315.44°)
OKLaboklab(50.65% 0.1217 -0.1514)
OKLCHoklch(50.65% 0.194 308.8)
XYZxyz(19.6326, 11.2341, 45.9247)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538B7 #6AB738
analogous
#4638B7 #8538B7 #B738AA
triadic
#8538B7 #B78538 #38B785
tetradic
#8538B7 #B74638 #6AB738 #38AAB7
square
#8538B7 #B74638 #6AB738 #38AAB7
split-complementary
#8538B7 #AAB738 #38B746
monochromatic
#411B59 #632A88 #8538B7 #A25ECE #BD8DDC

Accessibility & contrast

On white

6.47
#8538B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8538B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538B7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538B7#FFFFFF#000000##FFFFFF
##8538B71.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#1D5FB4
Tritanopia (blue-blind)
#7D5473
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8538b7;
/* rgb */ color: rgb(133, 56, 183);
/* oklch */ color: oklch(50.6% 0.194 308.8);
Tailwind
colors: {
  custom: {
    50: '#ad75cd',
    500: '#8538b7',
    950: '#000000',
  },
}
SCSS
$custom: #8538b7;
$custom-light: #ad75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8538b7",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 276.378,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.19431,
    "h": 308.8
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#8538B7
secondary
#9EC784
accent
#DD4B84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8538B7

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

Preview Lab → · Contrast checker → · Palette generator →

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