#8B37CB#8B37CB

#8B37CB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.217 H 306.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8B37CB
RGBrgb(139, 55, 203)
HSLhsl(274, 59%, 51%)
HSVhsv(274, 73%, 80%)
CMYKcmyk(31.5%, 72.9%, 0%, 20.4%)
CIE-LABlab(42.05, 60.41, -61.76)
CIE-LCHlch(42.05, 86.39, 314.36°)
OKLaboklab(52.75% 0.1278 -0.1756)
OKLCHoklch(52.75% 0.217 306)
XYZxyz(22.7908, 12.5333, 57.7069)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37CB #77CB37
analogous
#4137CB #8B37CB #CB37C1
triadic
#8B37CB #CB8B37 #37CB8B
tetradic
#8B37CB #CB4137 #77CB37 #37C1CB
square
#8B37CB #CB4137 #77CB37 #37C1CB
split-complementary
#8B37CB #C1CB37 #37CB41
monochromatic
#491C6C #6A299C #8B37CB #A768D8 #C398E4

Accessibility & contrast

On white

5.99
#8B37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8B37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37CB#FFFFFF#000000##FFFFFF
##8B37CB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#805B7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b37cb;
/* rgb */ color: rgb(139, 55, 203);
/* oklch */ color: oklch(52.7% 0.217 306.0);
Tailwind
colors: {
  custom: {
    50: '#b276dc',
    500: '#8b37cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b37cb;
$custom-light: #b276dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37cb",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 274.054,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.21713,
    "h": 306
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#8B37CB
secondary
#AAD08E
accent
#E24689
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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