#8A4BBF#8A4BBF

#8A4BBF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.178 H 306.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A4BBF
RGBrgb(138, 75, 191)
HSLhsl(273, 48%, 52%)
HSVhsv(273, 61%, 75%)
CMYKcmyk(27.7%, 60.7%, 0%, 25.1%)
CIE-LABlab(44.51, 48.00, -50.82)
CIE-LCHlch(44.51, 69.91, 313.36°)
OKLaboklab(54.23% 0.1058 -0.1436)
OKLCHoklch(54.23% 0.178 306.4)
XYZxyz(22.3993, 14.1972, 50.8404)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BBF #80BF4B
analogous
#504BBF #8A4BBF #BF4BBA
triadic
#8A4BBF #BF8A4B #4BBF8A
tetradic
#8A4BBF #BF504B #80BF4B #4BBABF
square
#8A4BBF #BF504B #80BF4B #4BBABF
split-complementary
#8A4BBF #BABF4B #4BBF50
monochromatic
#4B266A #6B3697 #8A4BBF #A778CF #C5A5DF

Accessibility & contrast

On white

5.47
#8A4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BBF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BBF#FFFFFF#000000##FFFFFF
##8A4BBF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#81627E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4bbf;
/* rgb */ color: rgb(138, 75, 191);
/* oklch */ color: oklch(54.2% 0.178 306.4);
Tailwind
colors: {
  custom: {
    50: '#b080d3',
    500: '#8a4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bbf;
$custom-light: #b080d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bbf",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 272.586,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.17832,
    "h": 306.4
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#8A4BBF
secondary
#B1CC9A
accent
#D7518E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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