#8538B9#8538B9

#8538B9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.196 H 308.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8538B9
RGBrgb(133, 56, 185)
HSLhsl(276, 54%, 47%)
HSVhsv(276, 70%, 73%)
CMYKcmyk(28.1%, 69.7%, 0%, 27.5%)
CIE-LABlab(40.11, 54.75, -54.44)
CIE-LCHlch(40.11, 77.21, 315.17°)
OKLaboklab(50.79% 0.1215 -0.1542)
OKLCHoklch(50.79% 0.196 308.2)
XYZxyz(19.8422, 11.3180, 47.0288)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538B9 #6CB938
analogous
#4538B9 #8538B9 #B938AD
triadic
#8538B9 #B98538 #38B985
tetradic
#8538B9 #B94538 #6CB938 #38ADB9
square
#8538B9 #B94538 #6CB938 #38ADB9
split-complementary
#8538B9 #ADB938 #38B945
monochromatic
#411C5B #632A8A #8538B9 #A25FCF #BD8EDD

Accessibility & contrast

On white

6.43
#8538B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8538B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538B9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538B9#FFFFFF#000000##FFFFFF
##8538B91.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#195FB6
Tritanopia (blue-blind)
#7D5574
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8538b9;
/* rgb */ color: rgb(133, 56, 185);
/* oklch */ color: oklch(50.8% 0.196 308.2);
Tailwind
colors: {
  custom: {
    50: '#ad75cf',
    500: '#8538b9',
    950: '#000000',
  },
}
SCSS
$custom: #8538b9;
$custom-light: #ad75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8538b9",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 275.814,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50789,
    "c": 0.19635,
    "h": 308.2
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#8538B9
secondary
#A0C885
accent
#DD4B86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8538B9

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

Preview Lab → · Contrast checker → · Palette generator →

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