#8538BB#8538BB

#8538BB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.198 H 307.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8538BB
RGBrgb(133, 56, 187)
HSLhsl(275, 54%, 48%)
HSVhsv(275, 70%, 73%)
CMYKcmyk(28.9%, 70.1%, 0%, 26.7%)
CIE-LABlab(40.25, 55.20, -55.39)
CIE-LCHlch(40.25, 78.20, 314.91°)
OKLaboklab(50.93% 0.1212 -0.157)
OKLCHoklch(50.93% 0.198 307.7)
XYZxyz(20.0548, 11.4030, 48.1486)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538BB #6EBB38
analogous
#4338BB #8538BB #BB38AF
triadic
#8538BB #BB8538 #38BB85
tetradic
#8538BB #BB4338 #6EBB38 #38AFBB
square
#8538BB #BB4338 #6EBB38 #38AFBB
split-complementary
#8538BB #AFBB38 #38BB43
monochromatic
#421C5D #642A8C #8538BB #A261D0 #BE90DE

Accessibility & contrast

On white

6.40
#8538BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8538BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538BB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538BB#FFFFFF#000000##FFFFFF
##8538BB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#1460B8
Tritanopia (blue-blind)
#7C5575
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8538bb;
/* rgb */ color: rgb(133, 56, 187);
/* oklch */ color: oklch(50.9% 0.198 307.7);
Tailwind
colors: {
  custom: {
    50: '#ad75d0',
    500: '#8538bb',
    950: '#000000',
  },
}
SCSS
$custom: #8538bb;
$custom-light: #ad75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8538bb",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 275.267,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.19838,
    "h": 307.7
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#8538BB
secondary
#A2C886
accent
#DD4B87
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8538BB

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

Preview Lab → · Contrast checker → · Palette generator →

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