#8A67D4#8A67D4

#8A67D4 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.9% C 0.162 H 296.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A67D4
RGBrgb(138, 103, 212)
HSLhsl(259, 56%, 62%)
HSVhsv(259, 51%, 83%)
CMYKcmyk(34.9%, 51.4%, 0%, 16.9%)
CIE-LABlab(51.67, 37.84, -51.44)
CIE-LCHlch(51.67, 63.86, 306.34°)
OKLaboklab(59.9% 0.0708 -0.1454)
OKLCHoklch(59.9% 0.162 296)
XYZxyz(27.2121, 19.8568, 64.6736)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D4 #B1D467
analogous
#677BD4 #8A67D4 #C167D4
triadic
#8A67D4 #D48A67 #67D48A
tetradic
#8A67D4 #D4677B #B1D467 #67D4C1
square
#8A67D4 #D4677B #B1D467 #67D4C1
split-complementary
#8A67D4 #D4C167 #7BD467
monochromatic
#4D2A96 #6638C6 #8A67D4 #AF97E1 #D3C6EF

Accessibility & contrast

On white

4.22
#8A67D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A67D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D4#FFFFFF#000000##000000
##8A67D41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#457AD1
Tritanopia (blue-blind)
#797D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a67d4;
/* rgb */ color: rgb(138, 103, 212);
/* oklch */ color: oklch(59.9% 0.162 296.0);
Tailwind
colors: {
  custom: {
    50: '#b093e2',
    500: '#8a67d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d4;
$custom-light: #b093e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d4",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 212
  },
  "hsl": {
    "h": 259.266,
    "s": 55.897,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.16173,
    "h": 296
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#8A67D4
secondary
#D3E0B7
accent
#C32290
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A67D4

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

Preview Lab → · Contrast checker → · Palette generator →

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