#8A67B1#8A67B1

#8A67B1 is a mid, moderate violet. Relative luminance 0.183; OKLCH L 57.9% C 0.116 H 304.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A67B1
RGBrgb(138, 103, 177)
HSLhsl(268, 32%, 55%)
HSVhsv(268, 42%, 69%)
CMYKcmyk(22%, 41.8%, 0%, 30.6%)
CIE-LABlab(49.83, 29.02, -34.24)
CIE-LCHlch(49.83, 44.88, 310.28°)
OKLaboklab(57.92% 0.0663 -0.0953)
OKLCHoklch(57.92% 0.116 304.8)
XYZxyz(23.2657, 18.2782, 43.8888)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B1 #8EB167
analogous
#6769B1 #8A67B1 #AF67B1
triadic
#8A67B1 #B18A67 #67B18A
tetradic
#8A67B1 #B16769 #8EB167 #67B1AF
square
#8A67B1 #B16769 #8EB167 #67B1AF
split-complementary
#8A67B1 #B1AF67 #69B167
monochromatic
#4D3568 #6B4A91 #8A67B1 #A98FC6 #C8B8DB

Accessibility & contrast

On white

4.51
#8A67B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A67B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67B1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67B1#FFFFFF#000000##000000
##8A67B11.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5575B4
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#847383
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a67b1;
/* rgb */ color: rgb(138, 103, 177);
/* oklch */ color: oklch(57.9% 0.116 304.8);
Tailwind
colors: {
  custom: {
    50: '#ad93c8',
    500: '#8a67b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b1;
$custom-light: #ad93c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b1",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 177
  },
  "hsl": {
    "h": 268.378,
    "s": 32.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.11607,
    "h": 304.8
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#8A67B1
secondary
#BBC9AA
accent
#C85F97
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B1

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

Preview Lab → · Contrast checker → · Palette generator →

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