#8A67B7#8A67B7

#8A67B7 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.2% C 0.124 H 302.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A67B7
RGBrgb(138, 103, 183)
HSLhsl(266, 36%, 56%)
HSVhsv(266, 44%, 72%)
CMYKcmyk(24.6%, 43.7%, 0%, 28.2%)
CIE-LABlab(50.12, 30.47, -37.26)
CIE-LCHlch(50.12, 48.13, 309.28°)
OKLaboklab(58.24% 0.0674 -0.104)
OKLCHoklch(58.24% 0.124 302.9)
XYZxyz(23.8769, 18.5227, 47.1079)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B7 #94B767
analogous
#676CB7 #8A67B7 #B267B7
triadic
#8A67B7 #B78A67 #67B78A
tetradic
#8A67B7 #B7676C #94B767 #67B7B2
square
#8A67B7 #B7676C #94B767 #67B7B2
split-complementary
#8A67B7 #B7B267 #6CB767
monochromatic
#4E356F #6B4899 #8A67B7 #AA91CB #CABADE

Accessibility & contrast

On white

4.46
#8A67B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A67B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67B7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67B7#FFFFFF#000000##000000
##8A67B71.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5276BA
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#827486
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a67b7;
/* rgb */ color: rgb(138, 103, 183);
/* oklch */ color: oklch(58.2% 0.124 302.9);
Tailwind
colors: {
  custom: {
    50: '#ae93cd',
    500: '#8a67b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b7;
$custom-light: #ae93cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b7",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 183
  },
  "hsl": {
    "h": 266.25,
    "s": 35.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58237,
    "c": 0.12394,
    "h": 302.9
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#8A67B7
secondary
#BFCDAC
accent
#CC5C9B
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B7

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

Preview Lab → · Contrast checker → · Palette generator →

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