#8A67B6#8A67B6

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

Color values

HEX#8A67B6
RGBrgb(138, 103, 182)
HSLhsl(267, 35%, 56%)
HSVhsv(267, 43%, 71%)
CMYKcmyk(24.2%, 43.4%, 0%, 28.6%)
CIE-LABlab(50.07, 30.23, -36.76)
CIE-LCHlch(50.07, 47.59, 309.43°)
OKLaboklab(58.18% 0.0672 -0.1026)
OKLCHoklch(58.18% 0.123 303.2)
XYZxyz(23.7732, 18.4812, 46.5617)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B6 #93B667
analogous
#676BB6 #8A67B6 #B167B6
triadic
#8A67B6 #B68A67 #67B68A
tetradic
#8A67B6 #B6676B #93B667 #67B6B1
square
#8A67B6 #B6676B #93B667 #67B6B1
split-complementary
#8A67B6 #B6B167 #6BB667
monochromatic
#4E356E #6B4997 #8A67B6 #AA90CA #CABADE

Accessibility & contrast

On white

4.47
#8A67B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A67B6#FFFFFF#000000##000000
##8A67B61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5376B9
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#827486
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a67b6;
/* rgb */ color: rgb(138, 103, 182);
/* oklch */ color: oklch(58.2% 0.123 303.2);
Tailwind
colors: {
  custom: {
    50: '#ae93cc',
    500: '#8a67b6',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b6;
$custom-light: #ae93cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b6",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 182
  },
  "hsl": {
    "h": 266.582,
    "s": 35.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58184,
    "c": 0.12264,
    "h": 303.2
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

primary
#8A67B6
secondary
#BECDAC
accent
#CB5D9A
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B6

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

Preview Lab → · Contrast checker → · Palette generator →

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