#8B35D1#8B35D1

#8B35D1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.0% C 0.225 H 304.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8B35D1
RGBrgb(139, 53, 209)
HSLhsl(273, 63%, 51%)
HSVhsv(273, 75%, 82%)
CMYKcmyk(33.5%, 74.6%, 0%, 18%)
CIE-LABlab(42.21, 62.57, -64.97)
CIE-LCHlch(42.21, 90.20, 313.92°)
OKLaboklab(53% 0.1284 -0.185)
OKLCHoklch(53% 0.225 304.8)
XYZxyz(23.4266, 12.6387, 61.5146)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35D1 #7BD135
analogous
#3D35D1 #8B35D1 #D135C9
triadic
#8B35D1 #D18B35 #35D18B
tetradic
#8B35D1 #D13D35 #7BD135 #35C9D1
square
#8B35D1 #D13D35 #7BD135 #35C9D1
split-complementary
#8B35D1 #C9D135 #35D13D
monochromatic
#4A1A72 #6B25A4 #8B35D1 #A867DC #C499E8

Accessibility & contrast

On white

5.95
#8B35D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8B35D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B35D1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B35D1#FFFFFF#000000##FFFFFF
##8B35D11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#7E5C81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b35d1;
/* rgb */ color: rgb(139, 53, 209);
/* oklch */ color: oklch(53.0% 0.225 304.8);
Tailwind
colors: {
  custom: {
    50: '#b375e0',
    500: '#8b35d1',
    950: '#000000',
  },
}
SCSS
$custom: #8b35d1;
$custom-light: #b375e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35d1",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 273.077,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.22517,
    "h": 304.8
  },
  "luminance": 0.12639
}

Semantic roles & 50–950 ramp

primary
#8B35D1
secondary
#ADD38F
accent
#E6428B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B35D1

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

Preview Lab → · Contrast checker → · Palette generator →

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