#8B3CDB#8B3CDB

#8B3CDB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.228 H 301.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8B3CDB
RGBrgb(139, 60, 219)
HSLhsl(270, 69%, 55%)
HSVhsv(270, 73%, 86%)
CMYKcmyk(36.5%, 72.6%, 0%, 14.1%)
CIE-LABlab(44.00, 61.96, -67.81)
CIE-LCHlch(44.00, 91.85, 312.42°)
OKLaboklab(54.5% 0.1201 -0.1934)
OKLCHoklch(54.5% 0.228 301.8)
XYZxyz(25.0464, 13.8351, 68.3550)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CDB #8CDB3C
analogous
#3C3DDB #8B3CDB #DA3CDB
triadic
#8B3CDB #DB8B3C #3CDB8B
tetradic
#8B3CDB #DB3C3D #8CDB3C #3CDBDA
square
#8B3CDB #DB3C3D #8CDB3C #3CDBDA
split-complementary
#8B3CDB #DBDA3C #3DDB3C
monochromatic
#4E1884 #6C22B8 #8B3CDB #AA70E5 #C8A3EE

Accessibility & contrast

On white

5.57
#8B3CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8B3CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CDB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CDB#FFFFFF#000000##FFFFFF
##8B3CDB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#7A6488
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3cdb;
/* rgb */ color: rgb(139, 60, 219);
/* oklch */ color: oklch(54.5% 0.228 301.8);
Tailwind
colors: {
  custom: {
    50: '#b379e7',
    500: '#8b3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cdb;
$custom-light: #b379e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cdb",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 269.811,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.22761,
    "h": 301.8
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#8B3CDB
secondary
#BADB98
accent
#EC3C94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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