#8B37C7#8B37C7

#8B37C7 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.213 H 307.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8B37C7
RGBrgb(139, 55, 199)
HSLhsl(275, 57%, 50%)
HSVhsv(275, 72%, 78%)
CMYKcmyk(30.2%, 72.4%, 0%, 22%)
CIE-LABlab(41.76, 59.51, -59.92)
CIE-LCHlch(41.76, 84.45, 314.81°)
OKLaboklab(52.45% 0.1285 -0.1701)
OKLCHoklch(52.45% 0.213 307.1)
XYZxyz(22.3202, 12.3451, 55.2288)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37C7 #73C737
analogous
#4337C7 #8B37C7 #C737BB
triadic
#8B37C7 #C78B37 #37C78B
tetradic
#8B37C7 #C74337 #73C737 #37BBC7
square
#8B37C7 #C74337 #73C737 #37BBC7
split-complementary
#8B37C7 #BBC737 #37C743
monochromatic
#481C67 #6A2A97 #8B37C7 #A766D5 #C396E2

Accessibility & contrast

On white

6.05
#8B37C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8B37C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37C7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37C7#FFFFFF#000000##FFFFFF
##8B37C71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#81597C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b37c7;
/* rgb */ color: rgb(139, 55, 199);
/* oklch */ color: oklch(52.4% 0.213 307.1);
Tailwind
colors: {
  custom: {
    50: '#b275d9',
    500: '#8b37c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b37c7;
$custom-light: #b275d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37c7",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 275,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.21319,
    "h": 307.1
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#8B37C7
secondary
#A7CD8C
accent
#E04887
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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