#8538B5#8538B5

#8538B5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.192 H 309.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8538B5
RGBrgb(133, 56, 181)
HSLhsl(277, 53%, 46%)
HSVhsv(277, 69%, 71%)
CMYKcmyk(26.5%, 69.1%, 0%, 29%)
CIE-LABlab(39.83, 53.86, -52.53)
CIE-LCHlch(39.83, 75.23, 315.72°)
OKLaboklab(50.5% 0.122 -0.1486)
OKLCHoklch(50.5% 0.192 309.4)
XYZxyz(19.4259, 11.1515, 44.8362)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538B5 #68B538
analogous
#4738B5 #8538B5 #B538A7
triadic
#8538B5 #B58538 #38B585
tetradic
#8538B5 #B54738 #68B538 #38A7B5
square
#8538B5 #B54738 #68B538 #38A7B5
split-complementary
#8538B5 #A7B538 #38B547
monochromatic
#401B58 #632A86 #8538B5 #A25DCD #BD8CDB

Accessibility & contrast

On white

6.50
#8538B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8538B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538B5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538B5#FFFFFF#000000##FFFFFF
##8538B51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#215FB2
Tritanopia (blue-blind)
#7E5372
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8538b5;
/* rgb */ color: rgb(133, 56, 181);
/* oklch */ color: oklch(50.5% 0.192 309.4);
Tailwind
colors: {
  custom: {
    50: '#ad75cc',
    500: '#8538b5',
    950: '#000000',
  },
}
SCSS
$custom: #8538b5;
$custom-light: #ad75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8538b5",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 276.96,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.19227,
    "h": 309.4
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#8538B5
secondary
#9DC683
accent
#DC4C83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8538B5

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

Preview Lab → · Contrast checker → · Palette generator →

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