#8A67EB#8A67EB

#8A67EB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.191 H 292.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A67EB
RGBrgb(138, 103, 235)
HSLhsl(256, 77%, 66%)
HSVhsv(256, 56%, 92%)
CMYKcmyk(41.3%, 56.2%, 0%, 7.8%)
CIE-LABlab(53.06, 43.98, -62.19)
CIE-LCHlch(53.06, 76.17, 305.26°)
OKLaboklab(61.37% 0.0716 -0.177)
OKLCHoklch(61.37% 0.191 292)
XYZxyz(30.3228, 21.1011, 81.0564)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67EB #C8EB67
analogous
#6786EB #8A67EB #CC67EB
triadic
#8A67EB #EB8A67 #67EB8A
tetradic
#8A67EB #EB6786 #C8EB67 #67EBCC
square
#8A67EB #EB6786 #C8EB67 #67EBCC
split-complementary
#8A67EB #EBCC67 #86EB67
monochromatic
#4519BF #6031E4 #8A67EB #B49DF2 #DDD3F9

Accessibility & contrast

On white

4.02
#8A67EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8A67EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67EB#FFFFFF#000000##000000
##8A67EB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81EF
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#6F849F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a67eb;
/* rgb */ color: rgb(138, 103, 235);
/* oklch */ color: oklch(61.4% 0.191 292.0);
Tailwind
colors: {
  custom: {
    50: '#b293f2',
    500: '#8a67eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a67eb;
$custom-light: #b293f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67eb",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 255.909,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61371,
    "c": 0.19093,
    "h": 292
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#8A67EB
secondary
#E1ECC1
accent
#D90DA3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A67EB

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

Preview Lab → · Contrast checker → · Palette generator →

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