#8A67DE#8A67DE

#8A67DE is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.175 H 294.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A67DE
RGBrgb(138, 103, 222)
HSLhsl(258, 64%, 64%)
HSVhsv(258, 54%, 87%)
CMYKcmyk(37.8%, 53.6%, 0%, 12.9%)
CIE-LABlab(52.26, 40.48, -56.17)
CIE-LCHlch(52.26, 69.24, 305.78°)
OKLaboklab(60.53% 0.0714 -0.1593)
OKLCHoklch(60.53% 0.175 294.1)
XYZxyz(28.5128, 20.3771, 71.5240)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67DE #BBDE67
analogous
#677FDE #8A67DE #C567DE
triadic
#8A67DE #DE8A67 #67DE8A
tetradic
#8A67DE #DE677F #BBDE67 #67DEC5
square
#8A67DE #DE677F #BBDE67 #67DEC5
split-complementary
#8A67DE #DEC567 #7FDE67
monochromatic
#4A24A6 #6335D3 #8A67DE #B199E9 #D7CCF4

Accessibility & contrast

On white

4.14
#8A67DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8A67DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67DE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67DE#FFFFFF#000000##000000
##8A67DE1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327EE2
Deuteranopia (green-blind)
#3B7BDB
Tritanopia (blue-blind)
#758099
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a67de;
/* rgb */ color: rgb(138, 103, 222);
/* oklch */ color: oklch(60.5% 0.175 294.1);
Tailwind
colors: {
  custom: {
    50: '#b093e9',
    500: '#8a67de',
    950: '#000000',
  },
}
SCSS
$custom: #8a67de;
$custom-light: #b093e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67de",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 222
  },
  "hsl": {
    "h": 257.647,
    "s": 64.324,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.17453,
    "h": 294.1
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#8A67DE
secondary
#D9E5BB
accent
#CC1998
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67DE

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

Preview Lab → · Contrast checker → · Palette generator →

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