#8A67D6#8A67D6

#8A67D6 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.0% C 0.164 H 295.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A67D6
RGBrgb(138, 103, 214)
HSLhsl(259, 58%, 62%)
HSVhsv(259, 52%, 84%)
CMYKcmyk(35.5%, 51.9%, 0%, 16.1%)
CIE-LABlab(51.79, 38.37, -52.39)
CIE-LCHlch(51.79, 64.94, 306.22°)
OKLaboklab(60.02% 0.0709 -0.1482)
OKLCHoklch(60.02% 0.164 295.6)
XYZxyz(27.4660, 19.9583, 66.0106)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D6 #B3D667
analogous
#677CD6 #8A67D6 #C267D6
triadic
#8A67D6 #D68A67 #67D68A
tetradic
#8A67D6 #D6677C #B3D667 #67D6C2
square
#8A67D6 #D6677C #B3D667 #67D6C2
split-complementary
#8A67D6 #D6C267 #7CD667
monochromatic
#4D2999 #6537C9 #8A67D6 #AF97E3 #D4C7F0

Accessibility & contrast

On white

4.21
#8A67D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A67D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D6#FFFFFF#000000##000000
##8A67D61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CDA
Deuteranopia (green-blind)
#437AD3
Tritanopia (blue-blind)
#787D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a67d6;
/* rgb */ color: rgb(138, 103, 214);
/* oklch */ color: oklch(60.0% 0.164 295.6);
Tailwind
colors: {
  custom: {
    50: '#b093e3',
    500: '#8a67d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d6;
$custom-light: #b093e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d6",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 214
  },
  "hsl": {
    "h": 258.919,
    "s": 57.513,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.1643,
    "h": 295.6
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#8A67D6
secondary
#D4E1B8
accent
#C52091
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D15
muted
#807E84

Preview Lab

Preview with #8A67D6

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

Preview Lab → · Contrast checker → · Palette generator →

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