#8A67DB#8A67DB

#8A67DB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.171 H 294.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A67DB
RGBrgb(138, 103, 219)
HSLhsl(258, 62%, 63%)
HSVhsv(258, 53%, 86%)
CMYKcmyk(37%, 53%, 0%, 14.1%)
CIE-LABlab(52.08, 39.69, -54.76)
CIE-LCHlch(52.08, 67.63, 305.93°)
OKLaboklab(60.34% 0.0712 -0.1551)
OKLCHoklch(60.34% 0.171 294.7)
XYZxyz(28.1143, 20.2177, 69.4253)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67DB #B8DB67
analogous
#677EDB #8A67DB #C467DB
triadic
#8A67DB #DB8A67 #67DB8A
tetradic
#8A67DB #DB677E #B8DB67 #67DBC4
square
#8A67DB #DB677E #B8DB67 #67DBC4
split-complementary
#8A67DB #DBC467 #7EDB67
monochromatic
#4B26A1 #6436CF #8A67DB #B098E7 #D6CAF2

Accessibility & contrast

On white

4.16
#8A67DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8A67DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67DB#FFFFFF#000000##000000
##8A67DB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#767F97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a67db;
/* rgb */ color: rgb(138, 103, 219);
/* oklch */ color: oklch(60.3% 0.171 294.7);
Tailwind
colors: {
  custom: {
    50: '#b093e7',
    500: '#8a67db',
    950: '#000000',
  },
}
SCSS
$custom: #8a67db;
$custom-light: #b093e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67db",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 258.103,
    "s": 61.702,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60335,
    "c": 0.17071,
    "h": 294.7
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#8A67DB
secondary
#D7E4BA
accent
#C91C95
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67DB

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

Preview Lab → · Contrast checker → · Palette generator →

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