#8B39CA#8B39CA

#8B39CA is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.214 H 306.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8B39CA
RGBrgb(139, 57, 202)
HSLhsl(274, 58%, 51%)
HSVhsv(274, 72%, 79%)
CMYKcmyk(31.2%, 71.8%, 0%, 20.8%)
CIE-LABlab(42.28, 59.34, -60.82)
CIE-LCHlch(42.28, 84.97, 314.29°)
OKLaboklab(52.88% 0.126 -0.1728)
OKLCHoklch(52.88% 0.214 306.1)
XYZxyz(22.7689, 12.6797, 57.1136)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39CA #78CA39
analogous
#4239CA #8B39CA #CA39C0
triadic
#8B39CA #CA8B39 #39CA8B
tetradic
#8B39CA #CA4239 #78CA39 #39C0CA
square
#8B39CA #CA4239 #78CA39 #39C0CA
split-complementary
#8B39CA #C0CA39 #39CA42
monochromatic
#491D6C #6A2A9C #8B39CA #A769D7 #C49AE4

Accessibility & contrast

On white

5.94
#8B39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39CA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39CA#FFFFFF#000000##FFFFFF
##8B39CA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#805B7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b39ca;
/* rgb */ color: rgb(139, 57, 202);
/* oklch */ color: oklch(52.9% 0.214 306.1);
Tailwind
colors: {
  custom: {
    50: '#b277db',
    500: '#8b39ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b39ca;
$custom-light: #b277db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39ca",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 273.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.21387,
    "h": 306.1
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#8B39CA
secondary
#ABD08F
accent
#E1478A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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