#8A67BB#8A67BB

#8A67BB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.5% C 0.129 H 301.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A67BB
RGBrgb(138, 103, 187)
HSLhsl(265, 38%, 57%)
HSVhsv(265, 45%, 73%)
CMYKcmyk(26.2%, 44.9%, 0%, 26.7%)
CIE-LABlab(50.32, 31.46, -39.26)
CIE-LCHlch(50.32, 50.31, 308.70°)
OKLaboklab(58.45% 0.068 -0.1098)
OKLCHoklch(58.45% 0.129 301.8)
XYZxyz(24.2991, 18.6916, 49.3318)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67BB #98BB67
analogous
#676EBB #8A67BB #B467BB
triadic
#8A67BB #BB8A67 #67BB8A
tetradic
#8A67BB #BB676E #98BB67 #67BBB4
square
#8A67BB #BB676E #98BB67 #67BBB4
split-complementary
#8A67BB #BBB467 #6EBB67
monochromatic
#4E3474 #6B479E #8A67BB #AB91CE #CBBCE1

Accessibility & contrast

On white

4.43
#8A67BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A67BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67BB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67BB#FFFFFF#000000##000000
##8A67BB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#5877B9
Tritanopia (blue-blind)
#817688
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a67bb;
/* rgb */ color: rgb(138, 103, 187);
/* oklch */ color: oklch(58.5% 0.129 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae93d0',
    500: '#8a67bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a67bb;
$custom-light: #ae93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67bb",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 187
  },
  "hsl": {
    "h": 265,
    "s": 38.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58453,
    "c": 0.1292,
    "h": 301.8
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#8A67BB
secondary
#C2D0AE
accent
#CE5A9E
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A67BB

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

Preview Lab → · Contrast checker → · Palette generator →

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