#8B35CC#8B35CC

#8B35CC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.220 H 306.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8B35CC
RGBrgb(139, 53, 204)
HSLhsl(274, 60%, 50%)
HSVhsv(274, 74%, 80%)
CMYKcmyk(31.9%, 74%, 0%, 20%)
CIE-LABlab(41.84, 61.45, -62.69)
CIE-LCHlch(41.84, 87.79, 314.43°)
OKLaboklab(52.62% 0.1294 -0.1783)
OKLCHoklch(52.62% 0.22 306)
XYZxyz(22.8172, 12.3950, 58.3055)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B35CC #76CC35
analogous
#3F35CC #8B35CC #CC35C2
triadic
#8B35CC #CC8B35 #35CC8B
tetradic
#8B35CC #CC3F35 #76CC35 #35C2CC
square
#8B35CC #CC3F35 #76CC35 #35C2CC
split-complementary
#8B35CC #C2CC35 #35CC3F
monochromatic
#491B6B #6A279C #8B35CC #A766D8 #C397E5

Accessibility & contrast

On white

6.04
#8B35CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8B35CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B35CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B35CC#FFFFFF#000000##FFFFFF
##8B35CC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#7F5A7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b35cc;
/* rgb */ color: rgb(139, 53, 204);
/* oklch */ color: oklch(52.6% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#b275dc',
    500: '#8b35cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b35cc;
$custom-light: #b275dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b35cc",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 274.172,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.2203,
    "h": 306
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#8B35CC
secondary
#AAD08D
accent
#E34589
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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