#8A67DA#8A67DA

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

Color values

HEX#8A67DA
RGBrgb(138, 103, 218)
HSLhsl(258, 61%, 63%)
HSVhsv(258, 53%, 85%)
CMYKcmyk(36.7%, 52.8%, 0%, 14.5%)
CIE-LABlab(52.02, 39.42, -54.29)
CIE-LCHlch(52.02, 67.09, 305.99°)
OKLaboklab(60.27% 0.0712 -0.1538)
OKLCHoklch(60.27% 0.169 294.8)
XYZxyz(27.9831, 20.1652, 68.7340)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67DA #B7DA67
analogous
#677DDA #8A67DA #C467DA
triadic
#8A67DA #DA8A67 #67DA8A
tetradic
#8A67DA #DA677D #B7DA67 #67DAC4
square
#8A67DA #DA677D #B7DA67 #67DAC4
split-complementary
#8A67DA #DAC467 #7DDA67
monochromatic
#4C27A0 #6436CE #8A67DA #B098E6 #D6C9F2

Accessibility & contrast

On white

4.17
#8A67DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8A67DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67DA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67DA#FFFFFF#000000##000000
##8A67DA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#777E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a67da;
/* rgb */ color: rgb(138, 103, 218);
/* oklch */ color: oklch(60.3% 0.169 294.8);
Tailwind
colors: {
  custom: {
    50: '#b093e6',
    500: '#8a67da',
    950: '#000000',
  },
}
SCSS
$custom: #8a67da;
$custom-light: #b093e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67da",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 218
  },
  "hsl": {
    "h": 258.261,
    "s": 60.847,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.16943,
    "h": 294.8
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#8A67DA
secondary
#D6E3BA
accent
#C91D94
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67DA

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

Preview Lab → · Contrast checker → · Palette generator →

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