#8A67B2#8A67B2

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

Color values

HEX#8A67B2
RGBrgb(138, 103, 178)
HSLhsl(268, 33%, 55%)
HSVhsv(268, 42%, 70%)
CMYKcmyk(22.5%, 42.1%, 0%, 30.2%)
CIE-LABlab(49.88, 29.26, -34.74)
CIE-LCHlch(49.88, 45.42, 310.10°)
OKLaboklab(57.97% 0.0665 -0.0967)
OKLCHoklch(57.97% 0.117 304.5)
XYZxyz(23.3657, 18.3182, 44.4157)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B2 #8FB267
analogous
#6769B2 #8A67B2 #AF67B2
triadic
#8A67B2 #B28A67 #67B28A
tetradic
#8A67B2 #B26769 #8FB267 #67B2AF
square
#8A67B2 #B26769 #8FB267 #67B2AF
split-complementary
#8A67B2 #B2AF67 #69B267
monochromatic
#4E3569 #6C4A92 #8A67B2 #A990C7 #C9B8DB

Accessibility & contrast

On white

4.50
#8A67B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A67B2#FFFFFF#000000##000000
##8A67B21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#847384
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a67b2;
/* rgb */ color: rgb(138, 103, 178);
/* oklch */ color: oklch(58.0% 0.117 304.5);
Tailwind
colors: {
  custom: {
    50: '#ad93c9',
    500: '#8a67b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b2;
$custom-light: #ad93c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b2",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 268,
    "s": 32.751,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.11739,
    "h": 304.5
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#8A67B2
secondary
#BBCAAB
accent
#C95F97
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B2

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

Preview Lab → · Contrast checker → · Palette generator →

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