#8A4DBF#8A4DBF

#8A4DBF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.175 H 306.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A4DBF
RGBrgb(138, 77, 191)
HSLhsl(272, 47%, 53%)
HSVhsv(272, 60%, 75%)
CMYKcmyk(27.7%, 59.7%, 0%, 25.1%)
CIE-LABlab(44.90, 46.96, -50.20)
CIE-LCHlch(44.90, 68.74, 313.09°)
OKLaboklab(54.51% 0.1033 -0.1417)
OKLCHoklch(54.51% 0.175 306.1)
XYZxyz(22.5371, 14.4728, 50.8864)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DBF #82BF4D
analogous
#514DBF #8A4DBF #BF4DBB
triadic
#8A4DBF #BF8A4D #4DBF8A
tetradic
#8A4DBF #BF514D #82BF4D #4DBBBF
square
#8A4DBF #BF514D #82BF4D #4DBBBF
split-complementary
#8A4DBF #BBBF4D #4DBF51
monochromatic
#4B276B #6B3798 #8A4DBF #A87ACF #C5A7DF

Accessibility & contrast

On white

5.39
#8A4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8A4DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DBF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DBF#FFFFFF#000000##FFFFFF
##8A4DBF1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#376BBC
Tritanopia (blue-blind)
#81637F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4dbf;
/* rgb */ color: rgb(138, 77, 191);
/* oklch */ color: oklch(54.5% 0.175 306.1);
Tailwind
colors: {
  custom: {
    50: '#b082d3',
    500: '#8a4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dbf;
$custom-light: #b082d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dbf",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 272.105,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.17538,
    "h": 306.1
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#8A4DBF
secondary
#B2CD9B
accent
#D7518F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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