#8A67E4#8A67E4

#8A67E4 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.9% C 0.182 H 293.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A67E4
RGBrgb(138, 103, 228)
HSLhsl(257, 70%, 65%)
HSVhsv(257, 55%, 89%)
CMYKcmyk(39.5%, 54.8%, 0%, 10.6%)
CIE-LABlab(52.62, 42.09, -58.96)
CIE-LCHlch(52.62, 72.44, 305.52°)
OKLaboklab(60.91% 0.0715 -0.1675)
OKLCHoklch(60.91% 0.182 293.1)
XYZxyz(29.3313, 20.7045, 75.8347)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67E4 #C1E467
analogous
#6783E4 #8A67E4 #C867E4
triadic
#8A67E4 #E48A67 #67E48A
tetradic
#8A67E4 #E46783 #C1E467 #67E4C8
square
#8A67E4 #E46783 #C1E467 #67E4C8
split-complementary
#8A67E4 #E4C867 #83E467
monochromatic
#481FB1 #6233DB #8A67E4 #B29BED #DACFF6

Accessibility & contrast

On white

4.08
#8A67E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8A67E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67E4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67E4#FFFFFF#000000##000000
##8A67E41.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE8
Deuteranopia (green-blind)
#337BE1
Tritanopia (blue-blind)
#73819C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a67e4;
/* rgb */ color: rgb(138, 103, 228);
/* oklch */ color: oklch(60.9% 0.182 293.1);
Tailwind
colors: {
  custom: {
    50: '#b193ed',
    500: '#8a67e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a67e4;
$custom-light: #b193ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67e4",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 228
  },
  "hsl": {
    "h": 256.8,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.18214,
    "h": 293.1
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#8A67E4
secondary
#DDE9BE
accent
#D2149D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67E4

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

Preview Lab → · Contrast checker → · Palette generator →

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