#8B35C2#8B35C2

#8B35C2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.211 H 308.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8B35C2
RGBrgb(139, 53, 194)
HSLhsl(277, 57%, 48%)
HSVhsv(277, 73%, 76%)
CMYKcmyk(28.4%, 72.7%, 0%, 23.9%)
CIE-LABlab(41.11, 59.24, -58.06)
CIE-LCHlch(41.11, 82.95, 315.58°)
OKLaboklab(51.87% 0.1312 -0.1647)
OKLCHoklch(51.87% 0.211 308.5)
XYZxyz(21.6562, 11.9306, 52.1905)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35C2 #6CC235
analogous
#4535C2 #8B35C2 #C235B2
triadic
#8B35C2 #C28B35 #35C28B
tetradic
#8B35C2 #C24535 #6CC235 #35B2C2
square
#8B35C2 #C24535 #6CC235 #35B2C2
split-complementary
#8B35C2 #B2C235 #35C245
monochromatic
#461B62 #692892 #8B35C2 #A760D4 #C291E1

Accessibility & contrast

On white

6.20
#8B35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8B35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B35C2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B35C2#FFFFFF#000000##FFFFFF
##8B35C21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0862BF
Tritanopia (blue-blind)
#825679
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b35c2;
/* rgb */ color: rgb(139, 53, 194);
/* oklch */ color: oklch(51.9% 0.211 308.5);
Tailwind
colors: {
  custom: {
    50: '#b274d5',
    500: '#8b35c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b35c2;
$custom-light: #b274d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35c2",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 276.596,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.21057,
    "h": 308.5
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#8B35C2
secondary
#A2CC87
accent
#E04783
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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