#8A67BA#8A67BA

#8A67BA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.128 H 302.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A67BA
RGBrgb(138, 103, 186)
HSLhsl(265, 38%, 57%)
HSVhsv(265, 45%, 73%)
CMYKcmyk(25.8%, 44.6%, 0%, 27.1%)
CIE-LABlab(50.27, 31.21, -38.76)
CIE-LCHlch(50.27, 49.76, 308.84°)
OKLaboklab(58.4% 0.0679 -0.1084)
OKLCHoklch(58.4% 0.128 302)
XYZxyz(24.1924, 18.6489, 48.7699)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67BA #97BA67
analogous
#676EBA #8A67BA #B467BA
triadic
#8A67BA #BA8A67 #67BA8A
tetradic
#8A67BA #BA676E #97BA67 #67BAB4
square
#8A67BA #BA676E #97BA67 #67BAB4
split-complementary
#8A67BA #BAB467 #6EBA67
monochromatic
#4E3473 #6B479D #8A67BA #AA91CD #CBBBE0

Accessibility & contrast

On white

4.44
#8A67BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8A67BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67BA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67BA#FFFFFF#000000##000000
##8A67BA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#817587
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a67ba;
/* rgb */ color: rgb(138, 103, 186);
/* oklch */ color: oklch(58.4% 0.128 302.0);
Tailwind
colors: {
  custom: {
    50: '#ae93cf',
    500: '#8a67ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a67ba;
$custom-light: #ae93cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67ba",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 186
  },
  "hsl": {
    "h": 265.301,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.12788,
    "h": 302
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#8A67BA
secondary
#C1CFAD
accent
#CE5A9D
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A67BA

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

Preview Lab → · Contrast checker → · Palette generator →

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