#8A67D3#8A67D3

#8A67D3 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.8% C 0.160 H 296.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A67D3
RGBrgb(138, 103, 211)
HSLhsl(259, 55%, 62%)
HSVhsv(259, 51%, 83%)
CMYKcmyk(34.6%, 51.2%, 0%, 17.3%)
CIE-LABlab(51.62, 37.58, -50.96)
CIE-LCHlch(51.62, 63.32, 306.40°)
OKLaboklab(59.84% 0.0707 -0.144)
OKLCHoklch(59.84% 0.16 296.2)
XYZxyz(27.0864, 19.8065, 64.0114)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D3 #B0D367
analogous
#677AD3 #8A67D3 #C067D3
triadic
#8A67D3 #D38A67 #67D38A
tetradic
#8A67D3 #D3677A #B0D367 #67D3C0
square
#8A67D3 #D3677A #B0D367 #67D3C0
split-complementary
#8A67D3 #D3C067 #7AD367
monochromatic
#4D2B95 #6639C4 #8A67D3 #AF96E1 #D3C6EE

Accessibility & contrast

On white

4.23
#8A67D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8A67D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D3#FFFFFF#000000##000000
##8A67D31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD7
Deuteranopia (green-blind)
#467AD0
Tritanopia (blue-blind)
#797C93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a67d3;
/* rgb */ color: rgb(138, 103, 211);
/* oklch */ color: oklch(59.8% 0.160 296.2);
Tailwind
colors: {
  custom: {
    50: '#b093e1',
    500: '#8a67d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d3;
$custom-light: #b093e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d3",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 211
  },
  "hsl": {
    "h": 259.444,
    "s": 55.102,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.16044,
    "h": 296.2
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#8A67D3
secondary
#D2DFB7
accent
#C3238F
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A67D3

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

Preview Lab → · Contrast checker → · Palette generator →

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