#8B37BC#8B37BC

#8B37BC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.202 H 310.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8B37BC
RGBrgb(139, 55, 188)
HSLhsl(278, 55%, 48%)
HSVhsv(278, 71%, 74%)
CMYKcmyk(26.1%, 70.7%, 0%, 26.3%)
CIE-LABlab(40.98, 57.09, -54.75)
CIE-LCHlch(40.98, 79.10, 316.20°)
OKLaboklab(51.65% 0.1301 -0.155)
OKLCHoklch(51.65% 0.202 310)
XYZxyz(21.0890, 11.8526, 48.7440)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37BC #68BC37
analogous
#4937BC #8B37BC #BC37AA
triadic
#8B37BC #BC8B37 #37BC8B
tetradic
#8B37BC #BC4937 #68BC37 #37AABC
square
#8B37BC #BC4937 #68BC37 #37AABC
split-complementary
#8B37BC #AABC37 #37BC49
monochromatic
#451B5D #68298D #8B37BC #A760D0 #C18FDE

Accessibility & contrast

On white

6.23
#8B37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8B37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37BC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37BC#FFFFFF#000000##FFFFFF
##8B37BC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#845476
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b37bc;
/* rgb */ color: rgb(139, 55, 188);
/* oklch */ color: oklch(51.6% 0.202 310.0);
Tailwind
colors: {
  custom: {
    50: '#b175d1',
    500: '#8b37bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b37bc;
$custom-light: #b175d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37bc",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 277.895,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.20234,
    "h": 310
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#8B37BC
secondary
#9FC986
accent
#DE4A80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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