#8A67E3#8A67E3

#8A67E3 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.181 H 293.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A67E3
RGBrgb(138, 103, 227)
HSLhsl(257, 69%, 65%)
HSVhsv(257, 55%, 89%)
CMYKcmyk(39.2%, 54.6%, 0%, 11%)
CIE-LABlab(52.56, 41.82, -58.50)
CIE-LCHlch(52.56, 71.91, 305.56°)
OKLaboklab(60.85% 0.0715 -0.1661)
OKLCHoklch(60.85% 0.181 293.3)
XYZxyz(29.1929, 20.6491, 75.1057)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67E3 #C0E367
analogous
#6782E3 #8A67E3 #C867E3
triadic
#8A67E3 #E38A67 #67E38A
tetradic
#8A67E3 #E36782 #C0E367 #67E3C8
square
#8A67E3 #E36782 #C0E367 #67E3C8
split-complementary
#8A67E3 #E3C867 #82E367
monochromatic
#4920AF #6233D9 #8A67E3 #B29BED #DACEF6

Accessibility & contrast

On white

4.09
#8A67E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A67E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67E3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67E3#FFFFFF#000000##000000
##8A67E31.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#73819B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a67e3;
/* rgb */ color: rgb(138, 103, 227);
/* oklch */ color: oklch(60.8% 0.181 293.3);
Tailwind
colors: {
  custom: {
    50: '#b193ec',
    500: '#8a67e3',
    950: '#000000',
  },
}
SCSS
$custom: #8a67e3;
$custom-light: #b193ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67e3",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 227
  },
  "hsl": {
    "h": 256.935,
    "s": 68.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.18087,
    "h": 293.3
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#8A67E3
secondary
#DCE8BE
accent
#D1159C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67E3

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

Preview Lab → · Contrast checker → · Palette generator →

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