#867AAA#867AAA

#867AAA is a mid, moderate violet. Relative luminance 0.219; OKLCH L 60.8% C 0.073 H 295.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#867AAA
RGBrgb(134, 122, 170)
HSLhsl(255, 22%, 57%)
HSVhsv(255, 28%, 67%)
CMYKcmyk(21.2%, 28.2%, 0%, 33.3%)
CIE-LABlab(53.91, 14.89, -23.87)
CIE-LCHlch(53.91, 28.13, 301.96°)
OKLaboklab(60.84% 0.0315 -0.0657)
OKLCHoklch(60.84% 0.073 295.6)
XYZxyz(24.0451, 21.8895, 40.9807)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867AAA #9EAA7A
analogous
#7A86AA #867AAA #9E7AAA
triadic
#867AAA #AA867A #7AAA86
tetradic
#867AAA #AA7A86 #9EAA7A #7AAA9E
square
#867AAA #AA7A86 #9EAA7A #7AAA9E
split-complementary
#867AAA #AA9E7A #86AA7A
monochromatic
#4B4267 #675A8D #867AAA #A89FC2 #CAC5DA

Accessibility & contrast

On white

3.90
#867AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#867AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867AAA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867AAA#FFFFFF#000000##000000
##867AAA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F81AC
Deuteranopia (green-blind)
#7080A9
Tritanopia (blue-blind)
#7F828B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #867aaa;
/* rgb */ color: rgb(134, 122, 170);
/* oklch */ color: oklch(60.8% 0.073 295.6);
Tailwind
colors: {
  custom: {
    50: '#aaa0c3',
    500: '#867aaa',
    950: '#000000',
  },
}
SCSS
$custom: #867aaa;
$custom-light: #aaa0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#867aaa",
  "rgb": {
    "r": 134,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 255,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.07287,
    "h": 295.6
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#867AAA
secondary
#C5CAB6
accent
#BF69A9
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #867AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#867AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva