#8B49DB#8B49DB

#8B49DB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.212 H 300.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B49DB
RGBrgb(139, 73, 219)
HSLhsl(267, 67%, 57%)
HSVhsv(267, 67%, 86%)
CMYKcmyk(36.5%, 66.7%, 0%, 14.1%)
CIE-LABlab(46.13, 55.97, -64.34)
CIE-LCHlch(46.13, 85.28, 311.02°)
OKLaboklab(56.02% 0.1073 -0.1832)
OKLCHoklch(56.02% 0.212 300.4)
XYZxyz(25.8131, 15.3683, 68.6105)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49DB #99DB49
analogous
#4950DB #8B49DB #D449DB
triadic
#8B49DB #DB8B49 #49DB8B
tetradic
#8B49DB #DB4950 #99DB49 #49DBD4
square
#8B49DB #DB4950 #99DB49 #49DBD4
split-complementary
#8B49DB #DBD449 #50DB49
monochromatic
#4F1C8E #6C26C1 #8B49DB #AC7CE5 #CCAFEF

Accessibility & contrast

On white

5.15
#8B49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8B49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49DB#FFFFFF#000000##FFFFFF
##8B49DB1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#796B8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b49db;
/* rgb */ color: rgb(139, 73, 219);
/* oklch */ color: oklch(56.0% 0.212 300.4);
Tailwind
colors: {
  custom: {
    50: '#b380e7',
    500: '#8b49db',
    950: '#000000',
  },
}
SCSS
$custom: #8b49db;
$custom-light: #b380e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49db",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 267.123,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56018,
    "c": 0.21232,
    "h": 300.4
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#8B49DB
secondary
#C3DDA2
accent
#EA3E9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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