#8B37C5#8B37C5

#8B37C5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.211 H 307.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8B37C5
RGBrgb(139, 55, 197)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 72%, 77%)
CMYKcmyk(29.4%, 72.1%, 0%, 22.7%)
CIE-LABlab(41.62, 59.07, -58.99)
CIE-LCHlch(41.62, 83.48, 315.04°)
OKLaboklab(52.3% 0.1288 -0.1674)
OKLCHoklch(52.3% 0.211 307.6)
XYZxyz(22.0896, 12.2529, 54.0138)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37C5 #71C537
analogous
#4437C5 #8B37C5 #C537B8
triadic
#8B37C5 #C58B37 #37C58B
tetradic
#8B37C5 #C54437 #71C537 #37B8C5
square
#8B37C5 #C54437 #71C537 #37B8C5
split-complementary
#8B37C5 #B8C537 #37C544
monochromatic
#471C65 #692A95 #8B37C5 #A765D4 #C295E1

Accessibility & contrast

On white

6.09
#8B37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8B37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37C5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37C5#FFFFFF#000000##FFFFFF
##8B37C51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#82587B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b37c5;
/* rgb */ color: rgb(139, 55, 197);
/* oklch */ color: oklch(52.3% 0.211 307.6);
Tailwind
colors: {
  custom: {
    50: '#b275d7',
    500: '#8b37c5',
    950: '#000000',
  },
}
SCSS
$custom: #8b37c5;
$custom-light: #b275d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37c5",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 275.493,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.21121,
    "h": 307.6
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#8B37C5
secondary
#A6CD8B
accent
#E04886
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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