#8E35BF#8E35BF

#8E35BF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.209 H 310.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8E35BF
RGBrgb(142, 53, 191)
HSLhsl(279, 57%, 48%)
HSVhsv(279, 72%, 75%)
CMYKcmyk(25.7%, 72.3%, 0%, 25.1%)
CIE-LABlab(41.31, 59.18, -55.96)
CIE-LCHlch(41.31, 81.45, 316.60°)
OKLaboklab(52.04% 0.1356 -0.1584)
OKLCHoklch(52.04% 0.209 310.6)
XYZxyz(21.8306, 12.0591, 50.4577)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35BF #66BF35
analogous
#4935BF #8E35BF #BF35AB
triadic
#8E35BF #BF8E35 #35BF8E
tetradic
#8E35BF #BF4935 #66BF35 #35ABBF
square
#8E35BF #BF4935 #66BF35 #35ABBF
split-complementary
#8E35BF #ABBF35 #35BF49
monochromatic
#471A5F #6A288F #8E35BF #A95FD3 #C38FE0

Accessibility & contrast

On white

6.16
#8E35BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E35BF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35BF#FFFFFF#000000##FFFFFF
##8E35BF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#875477
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e35bf;
/* rgb */ color: rgb(142, 53, 191);
/* oklch */ color: oklch(52.0% 0.209 310.6);
Tailwind
colors: {
  custom: {
    50: '#b474d3',
    500: '#8e35bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e35bf;
$custom-light: #b474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35bf",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 278.696,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.20854,
    "h": 310.6
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#8E35BF
secondary
#9ECA85
accent
#E0487E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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