#8A67E2#8A67E2

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

Color values

HEX#8A67E2
RGBrgb(138, 103, 226)
HSLhsl(257, 68%, 65%)
HSVhsv(257, 54%, 89%)
CMYKcmyk(38.9%, 54.4%, 0%, 11.4%)
CIE-LABlab(52.50, 41.55, -58.03)
CIE-LCHlch(52.50, 71.38, 305.60°)
OKLaboklab(60.78% 0.0715 -0.1648)
OKLCHoklch(60.78% 0.18 293.5)
XYZxyz(29.0553, 20.5941, 74.3810)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67E2 #BFE267
analogous
#6782E2 #8A67E2 #C867E2
triadic
#8A67E2 #E28A67 #67E28A
tetradic
#8A67E2 #E26782 #BFE267 #67E2C8
square
#8A67E2 #E26782 #BFE267 #67E2C8
split-complementary
#8A67E2 #E2C867 #82E267
monochromatic
#4921AD #6234D8 #8A67E2 #B29AEC #D9CEF6

Accessibility & contrast

On white

4.10
#8A67E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A67E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67E2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67E2#FFFFFF#000000##000000
##8A67E21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE6
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#73819B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a67e2;
/* rgb */ color: rgb(138, 103, 226);
/* oklch */ color: oklch(60.8% 0.180 293.5);
Tailwind
colors: {
  custom: {
    50: '#b193ec',
    500: '#8a67e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a67e2;
$custom-light: #b193ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67e2",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 257.073,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.17961,
    "h": 293.5
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#8A67E2
secondary
#DCE8BD
accent
#D0169B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67E2

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

Preview Lab → · Contrast checker → · Palette generator →

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