#8A67D9#8A67D9

#8A67D9 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.168 H 295.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8A67D9
RGBrgb(138, 103, 217)
HSLhsl(258, 60%, 63%)
HSVhsv(258, 53%, 85%)
CMYKcmyk(36.4%, 52.5%, 0%, 14.9%)
CIE-LABlab(51.96, 39.16, -53.81)
CIE-LCHlch(51.96, 66.55, 306.04°)
OKLaboklab(60.21% 0.0711 -0.1524)
OKLCHoklch(60.21% 0.168 295)
XYZxyz(27.8526, 20.1130, 68.0469)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D9 #B6D967
analogous
#677DD9 #8A67D9 #C367D9
triadic
#8A67D9 #D98A67 #67D98A
tetradic
#8A67D9 #D9677D #B6D967 #67D9C3
square
#8A67D9 #D9677D #B6D967 #67D9C3
split-complementary
#8A67D9 #D9C367 #7DD967
monochromatic
#4C289E #6436CD #8A67D9 #B098E5 #D5C9F1

Accessibility & contrast

On white

4.18
#8A67D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8A67D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D9#FFFFFF#000000##000000
##8A67D91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDD
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#777E96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a67d9;
/* rgb */ color: rgb(138, 103, 217);
/* oklch */ color: oklch(60.2% 0.168 295.0);
Tailwind
colors: {
  custom: {
    50: '#b093e5',
    500: '#8a67d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d9;
$custom-light: #b093e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d9",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 217
  },
  "hsl": {
    "h": 258.421,
    "s": 60,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.16815,
    "h": 295
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#8A67D9
secondary
#D6E3B9
accent
#C81E94
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67D9

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

Preview Lab → · Contrast checker → · Palette generator →

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