#867BB2#867BB2

#867BB2 is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.4% C 0.083 H 293.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#867BB2
RGBrgb(134, 123, 178)
HSLhsl(252, 26%, 59%)
HSVhsv(252, 31%, 70%)
CMYKcmyk(24.7%, 30.9%, 0%, 30.2%)
CIE-LABlab(54.50, 16.26, -27.57)
CIE-LCHlch(54.50, 32.01, 300.54°)
OKLaboklab(61.4% 0.0323 -0.0762)
OKLCHoklch(61.4% 0.083 293)
XYZxyz(24.9484, 22.4483, 45.1294)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867BB2 #A7B27B
analogous
#7B8CB2 #867BB2 #A27BB2
triadic
#867BB2 #B2867B #7BB286
tetradic
#867BB2 #B27B8C #A7B27B #7BB2A2
square
#867BB2 #B27B8C #A7B27B #7BB2A2
split-complementary
#867BB2 #B2A27B #8CB27B
monochromatic
#4B4271 #655897 #867BB2 #A9A2C9 #CDC8DF

Accessibility & contrast

On white

3.83
#867BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#867BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867BB2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867BB2#FFFFFF#000000##000000
##867BB21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#6E81B1
Tritanopia (blue-blind)
#7D848F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #867bb2;
/* rgb */ color: rgb(134, 123, 178);
/* oklch */ color: oklch(61.4% 0.083 293.0);
Tailwind
colors: {
  custom: {
    50: '#aaa1c9',
    500: '#867bb2',
    950: '#000000',
  },
}
SCSS
$custom: #867bb2;
$custom-light: #aaa1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#867bb2",
  "rgb": {
    "r": 134,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 252,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.08282,
    "h": 293
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#867BB2
secondary
#CBCFBA
accent
#C365B0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #867BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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