#8A67D1#8A67D1

#8A67D1 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.7% C 0.158 H 296.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A67D1
RGBrgb(138, 103, 209)
HSLhsl(260, 54%, 61%)
HSVhsv(260, 51%, 82%)
CMYKcmyk(34%, 50.7%, 0%, 18%)
CIE-LABlab(51.50, 37.06, -50.00)
CIE-LCHlch(51.50, 62.24, 306.54°)
OKLaboklab(59.72% 0.0706 -0.1412)
OKLCHoklch(59.72% 0.158 296.6)
XYZxyz(26.8372, 19.7068, 62.6991)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D1 #AED167
analogous
#6779D1 #8A67D1 #BF67D1
triadic
#8A67D1 #D18A67 #67D18A
tetradic
#8A67D1 #D16779 #AED167 #67D1BF
square
#8A67D1 #D16779 #AED167 #67D1BF
split-complementary
#8A67D1 #D1BF67 #79D167
monochromatic
#4E2C92 #673AC1 #8A67D1 #AE96DF #D2C5ED

Accessibility & contrast

On white

4.25
#8A67D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A67D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D1#FFFFFF#000000##000000
##8A67D11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407BD5
Deuteranopia (green-blind)
#4879CE
Tritanopia (blue-blind)
#7A7C92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a67d1;
/* rgb */ color: rgb(138, 103, 209);
/* oklch */ color: oklch(59.7% 0.158 296.6);
Tailwind
colors: {
  custom: {
    50: '#af93e0',
    500: '#8a67d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d1;
$custom-light: #af93e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d1",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 209
  },
  "hsl": {
    "h": 259.811,
    "s": 53.535,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59719,
    "c": 0.15787,
    "h": 296.6
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#8A67D1
secondary
#D1DEB6
accent
#C1258D
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A67D1

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

Preview Lab → · Contrast checker → · Palette generator →

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