#8A49CD#8A49CD

#8A49CD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.197 H 303.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A49CD
RGBrgb(138, 73, 205)
HSLhsl(270, 57%, 55%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(32.7%, 64.4%, 0%, 19.6%)
CIE-LABlab(45.05, 52.37, -58.07)
CIE-LCHlch(45.05, 78.20, 312.04°)
OKLaboklab(54.9% 0.1074 -0.1648)
OKLCHoklch(54.9% 0.197 303.1)
XYZxyz(23.8807, 14.5761, 59.3011)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49CD #8CCD49
analogous
#494ACD #8A49CD #CC49CD
triadic
#8A49CD #CD8A49 #49CD8A
tetradic
#8A49CD #CD494A #8CCD49 #49CDCC
square
#8A49CD #CD494A #8CCD49 #49CDCC
split-complementary
#8A49CD #CDCC49 #4ACD49
monochromatic
#4D227A #6B2FAA #8A49CD #A979DA #C8A9E7

Accessibility & contrast

On white

5.36
#8A49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49CD#FFFFFF#000000##FFFFFF
##8A49CD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#1C6ACA
Tritanopia (blue-blind)
#7D6685
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a49cd;
/* rgb */ color: rgb(138, 73, 205);
/* oklch */ color: oklch(54.9% 0.197 303.1);
Tailwind
colors: {
  custom: {
    50: '#b180dd',
    500: '#8a49cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a49cd;
$custom-light: #b180dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49cd",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 269.545,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.19675,
    "h": 303.1
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#8A49CD
secondary
#B9D59D
accent
#E04895
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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