#8538BC#8538BC

#8538BC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 51.0% C 0.199 H 307.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8538BC
RGBrgb(133, 56, 188)
HSLhsl(275, 54%, 48%)
HSVhsv(275, 70%, 74%)
CMYKcmyk(29.3%, 70.2%, 0%, 26.3%)
CIE-LABlab(40.32, 55.43, -55.86)
CIE-LCHlch(40.32, 78.69, 314.78°)
OKLaboklab(51.01% 0.1211 -0.1584)
OKLCHoklch(51.01% 0.199 307.4)
XYZxyz(20.1622, 11.4460, 48.7143)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538BC #6FBC38
analogous
#4338BC #8538BC #BC38B1
triadic
#8538BC #BC8538 #38BC85
tetradic
#8538BC #BC4338 #6FBC38 #38B1BC
square
#8538BC #BC4338 #6FBC38 #38B1BC
split-complementary
#8538BC #B1BC38 #38BC43
monochromatic
#421C5E #642A8D #8538BC #A261D0 #BE90DE

Accessibility & contrast

On white

6.38
#8538BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8538BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538BC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538BC#FFFFFF#000000##FFFFFF
##8538BC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#1160B9
Tritanopia (blue-blind)
#7C5676
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8538bc;
/* rgb */ color: rgb(133, 56, 188);
/* oklch */ color: oklch(51.0% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#ad75d1',
    500: '#8538bc',
    950: '#000000',
  },
}
SCSS
$custom: #8538bc;
$custom-light: #ad75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8538bc",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 275,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.1994,
    "h": 307.4
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#8538BC
secondary
#A2C987
accent
#DD4A88
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8538BC

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

Preview Lab → · Contrast checker → · Palette generator →

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