#8538AC#8538AC

#8538AC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.183 H 312.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8538AC
RGBrgb(133, 56, 172)
HSLhsl(280, 51%, 45%)
HSVhsv(280, 67%, 67%)
CMYKcmyk(22.7%, 67.4%, 0%, 32.5%)
CIE-LABlab(39.23, 51.87, -48.17)
CIE-LCHlch(39.23, 70.78, 317.12°)
OKLaboklab(49.88% 0.1228 -0.1358)
OKLCHoklch(49.88% 0.183 312.1)
XYZxyz(18.5321, 10.7939, 40.1289)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538AC #5FAC38
analogous
#4B38AC #8538AC #AC3899
triadic
#8538AC #AC8538 #38AC85
tetradic
#8538AC #AC4B38 #5FAC38 #3899AC
square
#8538AC #AC4B38 #5FAC38 #3899AC
split-complementary
#8538AC #99AC38 #38AC4B
monochromatic
#3E1A50 #61297E #8538AC #A358C9 #BD87D8

Accessibility & contrast

On white

6.65
#8538AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8538AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538AC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538AC#FFFFFF#000000##FFFFFF
##8538AC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#81506D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8538ac;
/* rgb */ color: rgb(133, 56, 172);
/* oklch */ color: oklch(49.9% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#ac74c5',
    500: '#8538ac',
    950: '#000000',
  },
}
SCSS
$custom: #8538ac;
$custom-light: #ac74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8538ac",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 279.828,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.18312,
    "h": 312.1
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#8538AC
secondary
#95C27E
accent
#DA4D7D
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8538AC

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

Preview Lab → · Contrast checker → · Palette generator →

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