#8A67E8#8A67E8

#8A67E8 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.187 H 292.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A67E8
RGBrgb(138, 103, 232)
HSLhsl(256, 74%, 66%)
HSVhsv(256, 56%, 91%)
CMYKcmyk(40.5%, 55.6%, 0%, 9%)
CIE-LABlab(52.87, 43.17, -60.81)
CIE-LCHlch(52.87, 74.58, 305.37°)
OKLaboklab(61.17% 0.0716 -0.1729)
OKLCHoklch(61.17% 0.187 292.5)
XYZxyz(29.8930, 20.9292, 78.7930)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67E8 #C5E867
analogous
#6784E8 #8A67E8 #CA67E8
triadic
#8A67E8 #E88A67 #67E88A
tetradic
#8A67E8 #E86784 #C5E867 #67E8CA
square
#8A67E8 #E86784 #C5E867 #67E8CA
split-complementary
#8A67E8 #E8CA67 #84E867
monochromatic
#461CB9 #6132E0 #8A67E8 #B39CF0 #DCD1F8

Accessibility & contrast

On white

4.05
#8A67E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A67E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67E8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67E8#FFFFFF#000000##000000
##8A67E81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2280EC
Deuteranopia (green-blind)
#2D7CE5
Tritanopia (blue-blind)
#71839E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a67e8;
/* rgb */ color: rgb(138, 103, 232);
/* oklch */ color: oklch(61.2% 0.187 292.5);
Tailwind
colors: {
  custom: {
    50: '#b193f0',
    500: '#8a67e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a67e8;
$custom-light: #b193f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67e8",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 256.279,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.18717,
    "h": 292.5
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#8A67E8
secondary
#DFEBC0
accent
#D610A0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A67E8

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

Preview Lab → · Contrast checker → · Palette generator →

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