#8A67B8#8A67B8

#8A67B8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.3% C 0.125 H 302.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A67B8
RGBrgb(138, 103, 184)
HSLhsl(266, 36%, 56%)
HSVhsv(266, 44%, 72%)
CMYKcmyk(25%, 44%, 0%, 27.8%)
CIE-LABlab(50.17, 30.72, -37.76)
CIE-LCHlch(50.17, 48.67, 309.13°)
OKLaboklab(58.29% 0.0675 -0.1055)
OKLCHoklch(58.29% 0.125 302.6)
XYZxyz(23.9813, 18.5645, 47.6580)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B8 #95B867
analogous
#676DB8 #8A67B8 #B367B8
triadic
#8A67B8 #B88A67 #67B88A
tetradic
#8A67B8 #B8676D #95B867 #67B8B3
square
#8A67B8 #B8676D #95B867 #67B8B3
split-complementary
#8A67B8 #B8B367 #6DB867
monochromatic
#4E3470 #6B489A #8A67B8 #AA91CB #CABADF

Accessibility & contrast

On white

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

On black

4.71
#8A67B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67B8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67B8#FFFFFF#000000##000000
##8A67B81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BB
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#827587
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a67b8;
/* rgb */ color: rgb(138, 103, 184);
/* oklch */ color: oklch(58.3% 0.125 302.6);
Tailwind
colors: {
  custom: {
    50: '#ae93cd',
    500: '#8a67b8',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b8;
$custom-light: #ae93cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b8",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 184
  },
  "hsl": {
    "h": 265.926,
    "s": 36.323,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.12526,
    "h": 302.6
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#8A67B8
secondary
#C0CEAD
accent
#CC5B9C
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B8

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

Preview Lab → · Contrast checker → · Palette generator →

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