#8538B8#8538B8

#8538B8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.195 H 308.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8538B8
RGBrgb(133, 56, 184)
HSLhsl(276, 53%, 47%)
HSVhsv(276, 70%, 72%)
CMYKcmyk(27.7%, 69.6%, 0%, 27.8%)
CIE-LABlab(40.04, 54.53, -53.96)
CIE-LCHlch(40.04, 76.72, 315.30°)
OKLaboklab(50.72% 0.1216 -0.1529)
OKLCHoklch(50.72% 0.195 308.5)
XYZxyz(19.7370, 11.2759, 46.4748)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538B8 #6BB838
analogous
#4538B8 #8538B8 #B838AB
triadic
#8538B8 #B88538 #38B885
tetradic
#8538B8 #B84538 #6BB838 #38ABB8
square
#8538B8 #B84538 #6BB838 #38ABB8
split-complementary
#8538B8 #ABB838 #38B845
monochromatic
#411B5A #632A89 #8538B8 #A25FCE #BD8EDD

Accessibility & contrast

On white

6.45
#8538B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8538B8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538B8#FFFFFF#000000##FFFFFF
##8538B81.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#1B5FB5
Tritanopia (blue-blind)
#7D5474
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8538b8;
/* rgb */ color: rgb(133, 56, 184);
/* oklch */ color: oklch(50.7% 0.195 308.5);
Tailwind
colors: {
  custom: {
    50: '#ad75ce',
    500: '#8538b8',
    950: '#000000',
  },
}
SCSS
$custom: #8538b8;
$custom-light: #ad75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8538b8",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 276.094,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.19533,
    "h": 308.5
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#8538B8
secondary
#9FC785
accent
#DD4B85
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8538B8

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

Preview Lab → · Contrast checker → · Palette generator →

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