#8B35BB#8B35BB

#8B35BB is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.204 H 310.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8B35BB
RGBrgb(139, 53, 187)
HSLhsl(279, 56%, 47%)
HSVhsv(279, 72%, 73%)
CMYKcmyk(25.7%, 71.7%, 0%, 26.7%)
CIE-LABlab(40.61, 57.72, -54.76)
CIE-LCHlch(40.61, 79.57, 316.51°)
OKLaboklab(51.36% 0.1323 -0.155)
OKLCHoklch(51.36% 0.204 310.5)
XYZxyz(20.8885, 11.6235, 48.1473)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35BB #65BB35
analogous
#4835BB #8B35BB #BB35A8
triadic
#8B35BB #BB8B35 #35BB8B
tetradic
#8B35BB #BB4835 #65BB35 #35A8BB
square
#8B35BB #BB4835 #65BB35 #35A8BB
split-complementary
#8B35BB #A8BB35 #35BB48
monochromatic
#441A5C #68278B #8B35BB #A75CD1 #C18CDE

Accessibility & contrast

On white

6.32
#8B35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8B35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B35BB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B35BB#FFFFFF#000000##FFFFFF
##8B35BB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#845375
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b35bb;
/* rgb */ color: rgb(139, 53, 187);
/* oklch */ color: oklch(51.4% 0.204 310.5);
Tailwind
colors: {
  custom: {
    50: '#b174d0',
    500: '#8b35bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b35bb;
$custom-light: #b174d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35bb",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 278.507,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.20375,
    "h": 310.5
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#8B35BB
secondary
#9CC983
accent
#DF497F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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