#8A4BD9#8A4BD9

#8A4BD9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.207 H 300.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A4BD9
RGBrgb(138, 75, 217)
HSLhsl(267, 65%, 57%)
HSVhsv(267, 65%, 85%)
CMYKcmyk(36.4%, 65.4%, 0%, 14.9%)
CIE-LABlab(46.24, 54.29, -63.03)
CIE-LCHlch(46.24, 83.19, 310.74°)
OKLaboklab(56.02% 0.104 -0.1794)
OKLCHoklch(56.02% 0.207 300.1)
XYZxyz(25.5186, 15.4450, 67.2689)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BD9 #9AD94B
analogous
#4B53D9 #8A4BD9 #D14BD9
triadic
#8A4BD9 #D98A4B #4BD98A
tetradic
#8A4BD9 #D94B53 #9AD94B #4BD9D1
square
#8A4BD9 #D94B53 #9AD94B #4BD9D1
split-complementary
#8A4BD9 #D9D14B #53D94B
monochromatic
#4F1E8C #6B28BF #8A4BD9 #AB7EE4 #CCB0EE

Accessibility & contrast

On white

5.14
#8A4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8A4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BD9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BD9#FFFFFF#000000##FFFFFF
##8A4BD91.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#796B8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a4bd9;
/* rgb */ color: rgb(138, 75, 217);
/* oklch */ color: oklch(56.0% 0.207 300.1);
Tailwind
colors: {
  custom: {
    50: '#b281e6',
    500: '#8a4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bd9;
$custom-light: #b281e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bd9",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 266.62,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.20741,
    "h": 300.1
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#8A4BD9
secondary
#C3DDA3
accent
#E8409D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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