#8A49DB#8A49DB

#8A49DB is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.212 H 300.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A49DB
RGBrgb(138, 73, 219)
HSLhsl(267, 67%, 57%)
HSVhsv(267, 67%, 86%)
CMYKcmyk(37%, 66.7%, 0%, 14.1%)
CIE-LABlab(46.02, 55.78, -64.53)
CIE-LCHlch(46.02, 85.29, 310.84°)
OKLaboklab(55.91% 0.1059 -0.1838)
OKLCHoklch(55.91% 0.212 300)
XYZxyz(25.6468, 15.2826, 68.6027)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49DB #9ADB49
analogous
#4951DB #8A49DB #D349DB
triadic
#8A49DB #DB8A49 #49DB8A
tetradic
#8A49DB #DB4951 #9ADB49 #49DBD3
square
#8A49DB #DB4951 #9ADB49 #49DBD3
split-complementary
#8A49DB #DBD349 #51DB49
monochromatic
#4F1C8E #6B26C1 #8A49DB #AB7CE5 #CCAFEF

Accessibility & contrast

On white

5.18
#8A49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8A49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49DB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49DB#FFFFFF#000000##FFFFFF
##8A49DB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a49db;
/* rgb */ color: rgb(138, 73, 219);
/* oklch */ color: oklch(55.9% 0.212 300.0);
Tailwind
colors: {
  custom: {
    50: '#b280e7',
    500: '#8a49db',
    950: '#000000',
  },
}
SCSS
$custom: #8a49db;
$custom-light: #b280e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49db",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 266.712,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.21216,
    "h": 300
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#8A49DB
secondary
#C3DDA2
accent
#EA3E9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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