#8B35C1#8B35C1

#8B35C1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.210 H 308.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8B35C1
RGBrgb(139, 53, 193)
HSLhsl(277, 57%, 48%)
HSVhsv(277, 73%, 76%)
CMYKcmyk(28%, 72.5%, 0%, 24.3%)
CIE-LABlab(41.03, 59.02, -57.60)
CIE-LCHlch(41.03, 82.47, 315.70°)
OKLaboklab(51.8% 0.1314 -0.1633)
OKLCHoklch(51.8% 0.21 308.8)
XYZxyz(21.5442, 11.8858, 51.6010)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35C1 #6BC135
analogous
#4535C1 #8B35C1 #C135B1
triadic
#8B35C1 #C18B35 #35C18B
tetradic
#8B35C1 #C14535 #6BC135 #35B1C1
square
#8B35C1 #C14535 #6BC135 #35B1C1
split-complementary
#8B35C1 #B1C135 #35C145
monochromatic
#461B61 #682891 #8B35C1 #A760D3 #C190E0

Accessibility & contrast

On white

6.22
#8B35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B35C1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B35C1#FFFFFF#000000##FFFFFF
##8B35C11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0D62BE
Tritanopia (blue-blind)
#835578
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b35c1;
/* rgb */ color: rgb(139, 53, 193);
/* oklch */ color: oklch(51.8% 0.210 308.8);
Tailwind
colors: {
  custom: {
    50: '#b274d5',
    500: '#8b35c1',
    950: '#000000',
  },
}
SCSS
$custom: #8b35c1;
$custom-light: #b274d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35c1",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 276.857,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51797,
    "c": 0.20959,
    "h": 308.8
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#8B35C1
secondary
#A1CB87
accent
#E04882
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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