#8A67DD#8A67DD

#8A67DD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.173 H 294.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A67DD
RGBrgb(138, 103, 221)
HSLhsl(258, 63%, 64%)
HSVhsv(258, 53%, 87%)
CMYKcmyk(37.6%, 53.4%, 0%, 13.3%)
CIE-LABlab(52.20, 40.22, -55.70)
CIE-LCHlch(52.20, 68.70, 305.83°)
OKLaboklab(60.46% 0.0713 -0.1579)
OKLCHoklch(60.46% 0.173 294.3)
XYZxyz(28.3792, 20.3236, 70.8202)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67DD #BADD67
analogous
#677FDD #8A67DD #C567DD
triadic
#8A67DD #DD8A67 #67DD8A
tetradic
#8A67DD #DD677F #BADD67 #67DDC5
square
#8A67DD #DD677F #BADD67 #67DDC5
split-complementary
#8A67DD #DDC567 #7FDD67
monochromatic
#4B25A5 #6435D2 #8A67DD #B099E8 #D7CBF3

Accessibility & contrast

On white

4.15
#8A67DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A67DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67DD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67DD#FFFFFF#000000##000000
##8A67DD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337EE1
Deuteranopia (green-blind)
#3C7BDA
Tritanopia (blue-blind)
#757F98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a67dd;
/* rgb */ color: rgb(138, 103, 221);
/* oklch */ color: oklch(60.5% 0.173 294.3);
Tailwind
colors: {
  custom: {
    50: '#b093e8',
    500: '#8a67dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a67dd;
$custom-light: #b093e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67dd",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 257.797,
    "s": 63.441,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.17326,
    "h": 294.3
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#8A67DD
secondary
#D8E5BB
accent
#CB1A97
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67DD

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

Preview Lab → · Contrast checker → · Palette generator →

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