#8D3BE2#8D3BE2

#8D3BE2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.2% C 0.236 H 301.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8D3BE2
RGBrgb(141, 59, 226)
HSLhsl(269, 74%, 56%)
HSVhsv(269, 74%, 89%)
CMYKcmyk(37.6%, 73.9%, 0%, 11.4%)
CIE-LABlab(44.63, 64.35, -70.75)
CIE-LCHlch(44.63, 95.64, 312.29°)
OKLaboklab(55.17% 0.1222 -0.2019)
OKLCHoklch(55.17% 0.236 301.2)
XYZxyz(26.2726, 14.2815, 73.3092)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BE2 #90E23B
analogous
#3B3CE2 #8D3BE2 #E03BE2
triadic
#8D3BE2 #E28D3B #3BE28D
tetradic
#8D3BE2 #E23B3C #90E23B #3BE2E0
square
#8D3BE2 #E23B3C #90E23B #3BE2E0
split-complementary
#8D3BE2 #E2E03B #3CE23B
monochromatic
#50158E #6E1DC3 #8D3BE2 #AC70EA #CBA6F2

Accessibility & contrast

On white

5.45
#8D3BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D3BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3BE2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BE2#FFFFFF#000000##FFFFFF
##8D3BE21.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#7A668C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d3be2;
/* rgb */ color: rgb(141, 59, 226);
/* oklch */ color: oklch(55.2% 0.236 301.2);
Tailwind
colors: {
  custom: {
    50: '#b579ec',
    500: '#8d3be2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3be2;
$custom-light: #b579ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3be2",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 226
  },
  "hsl": {
    "h": 269.461,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.23605,
    "h": 301.2
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#8D3BE2
secondary
#BDDF9A
accent
#F13796
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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