#8B3EDB#8B3EDB

#8B3EDB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.225 H 301.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8B3EDB
RGBrgb(139, 62, 219)
HSLhsl(269, 69%, 55%)
HSVhsv(269, 72%, 86%)
CMYKcmyk(36.5%, 71.7%, 0%, 14.1%)
CIE-LABlab(44.30, 61.09, -67.31)
CIE-LCHlch(44.30, 90.90, 312.23°)
OKLaboklab(54.71% 0.1182 -0.1919)
OKLCHoklch(54.71% 0.225 301.6)
XYZxyz(25.1532, 14.0486, 68.3906)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EDB #8EDB3E
analogous
#3E3FDB #8B3EDB #DA3EDB
triadic
#8B3EDB #DB8B3E #3EDB8B
tetradic
#8B3EDB #DB3E3F #8EDB3E #3EDBDA
square
#8B3EDB #DB3E3F #8EDB3E #3EDBDA
split-complementary
#8B3EDB #DBDA3E #3FDB3E
monochromatic
#4E1986 #6C23B9 #8B3EDB #AA72E5 #C9A5EE

Accessibility & contrast

On white

5.51
#8B3EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8B3EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EDB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EDB#FFFFFF#000000##FFFFFF
##8B3EDB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#7A6589
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b3edb;
/* rgb */ color: rgb(139, 62, 219);
/* oklch */ color: oklch(54.7% 0.225 301.6);
Tailwind
colors: {
  custom: {
    50: '#b37ae7',
    500: '#8b3edb',
    950: '#000000',
  },
}
SCSS
$custom: #8b3edb;
$custom-light: #b37ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3edb",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 269.427,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.2254,
    "h": 301.6
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#8B3EDB
secondary
#BBDB99
accent
#EB3C96
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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