#8B35C5#8B35C5

#8B35C5 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.213 H 307.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B35C5
RGBrgb(139, 53, 197)
HSLhsl(276, 58%, 49%)
HSVhsv(276, 73%, 77%)
CMYKcmyk(29.4%, 73.1%, 0%, 22.7%)
CIE-LABlab(41.32, 59.90, -59.46)
CIE-LCHlch(41.32, 84.40, 315.21°)
OKLaboklab(52.09% 0.1307 -0.1688)
OKLCHoklch(52.09% 0.213 307.8)
XYZxyz(21.9965, 12.0667, 53.9828)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35C5 #6FC535
analogous
#4335C5 #8B35C5 #C535B7
triadic
#8B35C5 #C58B35 #35C58B
tetradic
#8B35C5 #C54335 #6FC535 #35B7C5
square
#8B35C5 #C54335 #6FC535 #35B7C5
split-complementary
#8B35C5 #B7C535 #35C543
monochromatic
#471B65 #692895 #8B35C5 #A762D5 #C293E2

Accessibility & contrast

On white

6.15
#8B35C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B35C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B35C5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B35C5#FFFFFF#000000##FFFFFF
##8B35C51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#82577A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b35c5;
/* rgb */ color: rgb(139, 53, 197);
/* oklch */ color: oklch(52.1% 0.213 307.8);
Tailwind
colors: {
  custom: {
    50: '#b274d7',
    500: '#8b35c5',
    950: '#000000',
  },
}
SCSS
$custom: #8b35c5;
$custom-light: #b274d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35c5",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 275.833,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.21348,
    "h": 307.8
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#8B35C5
secondary
#A4CD89
accent
#E14785
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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