#8B37CC#8B37CC

#8B37CC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.218 H 305.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8B37CC
RGBrgb(139, 55, 204)
HSLhsl(274, 59%, 51%)
HSVhsv(274, 73%, 80%)
CMYKcmyk(31.9%, 73%, 0%, 20%)
CIE-LABlab(42.13, 60.63, -62.22)
CIE-LCHlch(42.13, 86.88, 314.26°)
OKLaboklab(52.82% 0.1276 -0.1769)
OKLCHoklch(52.82% 0.218 305.8)
XYZxyz(22.9103, 12.5812, 58.3365)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37CC #78CC37
analogous
#4037CC #8B37CC #CC37C2
triadic
#8B37CC #CC8B37 #37CC8B
tetradic
#8B37CC #CC4037 #78CC37 #37C2CC
square
#8B37CC #CC4037 #78CC37 #37C2CC
split-complementary
#8B37CC #C2CC37 #37CC40
monochromatic
#491C6D #6A289E #8B37CC #A768D8 #C499E5

Accessibility & contrast

On white

5.97
#8B37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8B37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37CC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37CC#FFFFFF#000000##FFFFFF
##8B37CC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#7F5B7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b37cc;
/* rgb */ color: rgb(139, 55, 204);
/* oklch */ color: oklch(52.8% 0.218 305.8);
Tailwind
colors: {
  custom: {
    50: '#b276dc',
    500: '#8b37cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b37cc;
$custom-light: #b276dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37cc",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 273.826,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.21812,
    "h": 305.8
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#8B37CC
secondary
#ABD08E
accent
#E3458A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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