#8A67E1#8A67E1

#8A67E1 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.178 H 293.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A67E1
RGBrgb(138, 103, 225)
HSLhsl(257, 67%, 64%)
HSVhsv(257, 54%, 88%)
CMYKcmyk(38.7%, 54.2%, 0%, 11.8%)
CIE-LABlab(52.44, 41.28, -57.57)
CIE-LCHlch(52.44, 70.84, 305.65°)
OKLaboklab(60.72% 0.0715 -0.1634)
OKLCHoklch(60.72% 0.178 293.6)
XYZxyz(28.9185, 20.5393, 73.6604)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67E1 #BEE167
analogous
#6781E1 #8A67E1 #C767E1
triadic
#8A67E1 #E18A67 #67E18A
tetradic
#8A67E1 #E16781 #BEE167 #67E1C7
square
#8A67E1 #E16781 #BEE167 #67E1C7
split-complementary
#8A67E1 #E1C767 #81E167
monochromatic
#4922AC #6334D7 #8A67E1 #B19AEB #D9CDF5

Accessibility & contrast

On white

4.11
#8A67E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A67E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67E1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67E1#FFFFFF#000000##000000
##8A67E11.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE5
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#74809A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a67e1;
/* rgb */ color: rgb(138, 103, 225);
/* oklch */ color: oklch(60.7% 0.178 293.6);
Tailwind
colors: {
  custom: {
    50: '#b193eb',
    500: '#8a67e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a67e1;
$custom-light: #b193eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67e1",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 225
  },
  "hsl": {
    "h": 257.213,
    "s": 67.033,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60717,
    "c": 0.17834,
    "h": 293.6
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#8A67E1
secondary
#DBE7BD
accent
#CF179A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67E1

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

Preview Lab → · Contrast checker → · Palette generator →

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