#8B37C4#8B37C4

#8B37C4 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.210 H 307.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B37C4
RGBrgb(139, 55, 196)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 72%, 77%)
CMYKcmyk(29.1%, 71.9%, 0%, 23.1%)
CIE-LABlab(41.54, 58.85, -58.52)
CIE-LCHlch(41.54, 82.99, 315.16°)
OKLaboklab(52.23% 0.129 -0.166)
OKLCHoklch(52.23% 0.21 307.8)
XYZxyz(21.9754, 12.2072, 53.4124)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37C4 #70C437
analogous
#4537C4 #8B37C4 #C437B7
triadic
#8B37C4 #C48B37 #37C48B
tetradic
#8B37C4 #C44537 #70C437 #37B7C4
square
#8B37C4 #C44537 #70C437 #37B7C4
split-complementary
#8B37C4 #B7C437 #37C445
monochromatic
#471C64 #692A94 #8B37C4 #A765D4 #C294E1

Accessibility & contrast

On white

6.10
#8B37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8B37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37C4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37C4#FFFFFF#000000##FFFFFF
##8B37C41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0663C1
Tritanopia (blue-blind)
#82587A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b37c4;
/* rgb */ color: rgb(139, 55, 196);
/* oklch */ color: oklch(52.2% 0.210 307.8);
Tailwind
colors: {
  custom: {
    50: '#b275d7',
    500: '#8b37c4',
    950: '#000000',
  },
}
SCSS
$custom: #8b37c4;
$custom-light: #b275d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37c4",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 275.745,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.21022,
    "h": 307.8
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#8B37C4
secondary
#A5CC8B
accent
#DF4885
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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