#8A67B5#8A67B5

#8A67B5 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.1% C 0.121 H 303.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A67B5
RGBrgb(138, 103, 181)
HSLhsl(267, 35%, 56%)
HSVhsv(267, 43%, 71%)
CMYKcmyk(23.8%, 43.1%, 0%, 29%)
CIE-LABlab(50.03, 29.98, -36.25)
CIE-LCHlch(50.03, 47.05, 309.59°)
OKLaboklab(58.13% 0.067 -0.1011)
OKLCHoklch(58.13% 0.121 303.5)
XYZxyz(23.6702, 18.4400, 46.0194)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B5 #92B567
analogous
#676BB5 #8A67B5 #B167B5
triadic
#8A67B5 #B58A67 #67B58A
tetradic
#8A67B5 #B5676B #92B567 #67B5B1
square
#8A67B5 #B5676B #92B567 #67B5B1
split-complementary
#8A67B5 #B5B167 #6BB567
monochromatic
#4E356D #6B4996 #8A67B5 #AA90C9 #C9B9DD

Accessibility & contrast

On white

4.48
#8A67B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A67B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67B5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67B5#FFFFFF#000000##000000
##8A67B51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5376B8
Deuteranopia (green-blind)
#5B77B3
Tritanopia (blue-blind)
#837485
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a67b5;
/* rgb */ color: rgb(138, 103, 181);
/* oklch */ color: oklch(58.1% 0.121 303.5);
Tailwind
colors: {
  custom: {
    50: '#ae93cb',
    500: '#8a67b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b5;
$custom-light: #ae93cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b5",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 181
  },
  "hsl": {
    "h": 266.923,
    "s": 34.513,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.12132,
    "h": 303.5
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#8A67B5
secondary
#BECCAC
accent
#CB5D9A
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B5

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

Preview Lab → · Contrast checker → · Palette generator →

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