#8A49DD#8A49DD

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

Color values

HEX#8A49DD
RGBrgb(138, 73, 221)
HSLhsl(266, 69%, 58%)
HSVhsv(266, 67%, 87%)
CMYKcmyk(37.6%, 67%, 0%, 13.3%)
CIE-LABlab(46.16, 56.27, -65.44)
CIE-LCHlch(46.16, 86.30, 310.69°)
OKLaboklab(56.06% 0.1057 -0.1865)
OKLCHoklch(56.06% 0.214 299.5)
XYZxyz(25.9117, 15.3885, 69.9977)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49DD #9CDD49
analogous
#4952DD #8A49DD #D449DD
triadic
#8A49DD #DD8A49 #49DD8A
tetradic
#8A49DD #DD4952 #9CDD49 #49DDD4
square
#8A49DD #DD4952 #9CDD49 #49DDD4
split-complementary
#8A49DD #DDD449 #52DD49
monochromatic
#4F1B91 #6B25C4 #8A49DD #AB7DE7 #CCB0F0

Accessibility & contrast

On white

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

On black

4.08
#8A49DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A49DD#FFFFFF#000000##FFFFFF
##8A49DD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#776C8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a49dd;
/* rgb */ color: rgb(138, 73, 221);
/* oklch */ color: oklch(56.1% 0.214 299.5);
Tailwind
colors: {
  custom: {
    50: '#b280e8',
    500: '#8a49dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a49dd;
$custom-light: #b280e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49dd",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 266.351,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.21435,
    "h": 299.5
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#8A49DD
secondary
#C5DFA3
accent
#EB3C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8A49DD

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

Preview Lab → · Contrast checker → · Palette generator →

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