#8B37C2#8B37C2

#8B37C2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.208 H 308.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8B37C2
RGBrgb(139, 55, 194)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 72%, 76%)
CMYKcmyk(28.4%, 71.6%, 0%, 23.9%)
CIE-LABlab(41.40, 58.41, -57.59)
CIE-LCHlch(41.40, 82.02, 315.41°)
OKLaboklab(52.08% 0.1293 -0.1633)
OKLCHoklch(52.08% 0.208 308.4)
XYZxyz(21.7492, 12.1167, 52.2215)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37C2 #6EC237
analogous
#4637C2 #8B37C2 #C237B4
triadic
#8B37C2 #C28B37 #37C28B
tetradic
#8B37C2 #C24637 #6EC237 #37B4C2
square
#8B37C2 #C24637 #6EC237 #37B4C2
split-complementary
#8B37C2 #B4C237 #37C246
monochromatic
#471C63 #692992 #8B37C2 #A763D3 #C293E0

Accessibility & contrast

On white

6.13
#8B37C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8B37C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37C2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37C2#FFFFFF#000000##FFFFFF
##8B37C21.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0F63BF
Tritanopia (blue-blind)
#825779
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b37c2;
/* rgb */ color: rgb(139, 55, 194);
/* oklch */ color: oklch(52.1% 0.208 308.4);
Tailwind
colors: {
  custom: {
    50: '#b275d5',
    500: '#8b37c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b37c2;
$custom-light: #b275d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37c2",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 276.259,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.20825,
    "h": 308.4
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#8B37C2
secondary
#A4CB89
accent
#DF4984
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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