#8B35B3#8B35B3

#8B35B3 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.196 H 312.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8B35B3
RGBrgb(139, 53, 179)
HSLhsl(281, 54%, 45%)
HSVhsv(281, 70%, 70%)
CMYKcmyk(22.3%, 70.4%, 0%, 29.8%)
CIE-LABlab(40.07, 56.01, -50.93)
CIE-LCHlch(40.07, 75.70, 317.72°)
OKLaboklab(50.8% 0.1333 -0.1437)
OKLCHoklch(50.8% 0.196 312.8)
XYZxyz(20.0558, 11.2904, 43.7619)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35B3 #5DB335
analogous
#4C35B3 #8B35B3 #B3359C
triadic
#8B35B3 #B38B35 #35B38B
tetradic
#8B35B3 #B34C35 #5DB335 #359CB3
square
#8B35B3 #B34C35 #5DB335 #359CB3
split-complementary
#8B35B3 #9CB335 #35B34C
monochromatic
#421955 #662784 #8B35B3 #A858CD #C187DB

Accessibility & contrast

On white

6.45
#8B35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8B35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B35B3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B35B3#FFFFFF#000000##FFFFFF
##8B35B31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#875070
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b35b3;
/* rgb */ color: rgb(139, 53, 179);
/* oklch */ color: oklch(50.8% 0.196 312.8);
Tailwind
colors: {
  custom: {
    50: '#b174ca',
    500: '#8b35b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b35b3;
$custom-light: #b174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35b3",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 280.952,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.19599,
    "h": 312.8
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#8B35B3
secondary
#95C57F
accent
#DE4A79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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