#8A49D2#8A49D2

#8A49D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.202 H 301.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A49D2
RGBrgb(138, 73, 210)
HSLhsl(268, 60%, 55%)
HSVhsv(268, 65%, 82%)
CMYKcmyk(34.3%, 65.2%, 0%, 17.6%)
CIE-LABlab(45.39, 53.58, -60.40)
CIE-LCHlch(45.39, 80.74, 311.57°)
OKLaboklab(55.26% 0.1069 -0.1717)
OKLCHoklch(55.26% 0.202 301.9)
XYZxyz(24.4939, 14.8214, 62.5307)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49D2 #91D249
analogous
#494DD2 #8A49D2 #CE49D2
triadic
#8A49D2 #D28A49 #49D28A
tetradic
#8A49D2 #D2494D #91D249 #49D2CE
square
#8A49D2 #D2494D #91D249 #49D2CE
split-complementary
#8A49D2 #D2CE49 #4DD249
monochromatic
#4E2081 #6B2CB2 #8A49D2 #AA7ADE #C9ABEA

Accessibility & contrast

On white

5.30
#8A49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49D2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49D2#FFFFFF#000000##FFFFFF
##8A49D21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0C6BCF
Tritanopia (blue-blind)
#7B6887
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a49d2;
/* rgb */ color: rgb(138, 73, 210);
/* oklch */ color: oklch(55.3% 0.202 301.9);
Tailwind
colors: {
  custom: {
    50: '#b180e1',
    500: '#8a49d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a49d2;
$custom-light: #b180e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49d2",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 268.467,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.20226,
    "h": 301.9
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#8A49D2
secondary
#BDD89F
accent
#E34498
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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