#8B37DA#8B37DA

#8B37DA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.9% C 0.232 H 302.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8B37DA
RGBrgb(139, 55, 218)
HSLhsl(271, 69%, 54%)
HSVhsv(271, 75%, 85%)
CMYKcmyk(36.2%, 74.8%, 0%, 14.5%)
CIE-LABlab(43.19, 63.81, -68.56)
CIE-LCHlch(43.19, 93.66, 312.95°)
OKLaboklab(53.9% 0.1247 -0.1955)
OKLCHoklch(53.9% 0.232 302.5)
XYZxyz(24.6655, 13.2832, 67.5805)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37DA #86DA37
analogous
#3937DA #8B37DA #DA37D7
triadic
#8B37DA #DA8B37 #37DA8B
tetradic
#8B37DA #DA3937 #86DA37 #37D7DA
square
#8B37DA #DA3937 #86DA37 #37D7DA
split-complementary
#8B37DA #D7DA37 #37DA39
monochromatic
#4D187F #6C21B3 #8B37DA #A96BE4 #C79EED

Accessibility & contrast

On white

5.74
#8B37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8B37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37DA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37DA#FFFFFF#000000##FFFFFF
##8B37DA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#7A6187
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b37da;
/* rgb */ color: rgb(139, 55, 218);
/* oklch */ color: oklch(53.9% 0.232 302.5);
Tailwind
colors: {
  custom: {
    50: '#b376e7',
    500: '#8b37da',
    950: '#000000',
  },
}
SCSS
$custom: #8b37da;
$custom-light: #b376e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37da",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 270.92,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.23191,
    "h": 302.5
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#8B37DA
secondary
#B5D993
accent
#EC3C91
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B37DA

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

Preview Lab → · Contrast checker → · Palette generator →

#8B37DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva