#8B37D4#8B37D4

#8B37D4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.226 H 303.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8B37D4
RGBrgb(139, 55, 212)
HSLhsl(272, 65%, 52%)
HSVhsv(272, 74%, 83%)
CMYKcmyk(34.4%, 74.1%, 0%, 16.9%)
CIE-LABlab(42.73, 62.44, -65.86)
CIE-LCHlch(42.73, 90.76, 313.47°)
OKLaboklab(53.43% 0.126 -0.1876)
OKLCHoklch(53.43% 0.226 303.9)
XYZxyz(23.8946, 12.9749, 63.5202)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37D4 #80D437
analogous
#3D37D4 #8B37D4 #D437CE
triadic
#8B37D4 #D48B37 #37D48B
tetradic
#8B37D4 #D43D37 #80D437 #37CED4
square
#8B37D4 #D43D37 #80D437 #37CED4
split-complementary
#8B37D4 #CED437 #37D43D
monochromatic
#4C1A77 #6C24A9 #8B37D4 #A869DF #C59CEA

Accessibility & contrast

On white

5.84
#8B37D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8B37D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37D4#FFFFFF#000000##FFFFFF
##8B37D41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#7D5E83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b37d4;
/* rgb */ color: rgb(139, 55, 212);
/* oklch */ color: oklch(53.4% 0.226 303.9);
Tailwind
colors: {
  custom: {
    50: '#b376e2',
    500: '#8b37d4',
    950: '#000000',
  },
}
SCSS
$custom: #8b37d4;
$custom-light: #b376e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37d4",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 212
  },
  "hsl": {
    "h": 272.102,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.226,
    "h": 303.9
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#8B37D4
secondary
#B1D691
accent
#E8408E
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8B37D4

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

Preview Lab → · Contrast checker → · Palette generator →

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