#8B39CB#8B39CB

#8B39CB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.215 H 305.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8B39CB
RGBrgb(139, 57, 203)
HSLhsl(274, 58%, 51%)
HSVhsv(274, 72%, 80%)
CMYKcmyk(31.5%, 71.9%, 0%, 20.4%)
CIE-LABlab(42.35, 59.56, -61.28)
CIE-LCHlch(42.35, 85.46, 314.19°)
OKLaboklab(52.96% 0.1259 -0.1742)
OKLCHoklch(52.96% 0.215 305.9)
XYZxyz(22.8877, 12.7272, 57.7392)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39CB #79CB39
analogous
#4239CB #8B39CB #CB39C2
triadic
#8B39CB #CB8B39 #39CB8B
tetradic
#8B39CB #CB4239 #79CB39 #39C2CB
square
#8B39CB #CB4239 #79CB39 #39C2CB
split-complementary
#8B39CB #C2CB39 #39CB42
monochromatic
#4A1D6D #6B299D #8B39CB #A769D8 #C49AE4

Accessibility & contrast

On white

5.92
#8B39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8B39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39CB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39CB#FFFFFF#000000##FFFFFF
##8B39CB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#805C7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b39cb;
/* rgb */ color: rgb(139, 57, 203);
/* oklch */ color: oklch(53.0% 0.215 305.9);
Tailwind
colors: {
  custom: {
    50: '#b277dc',
    500: '#8b39cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b39cb;
$custom-light: #b277dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39cb",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 273.699,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.21487,
    "h": 305.9
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#8B39CB
secondary
#ACD090
accent
#E2468A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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