#8A67C2#8A67C2

#8A67C2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.8% C 0.138 H 299.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A67C2
RGBrgb(138, 103, 194)
HSLhsl(263, 43%, 58%)
HSVhsv(263, 47%, 76%)
CMYKcmyk(28.9%, 46.9%, 0%, 23.9%)
CIE-LABlab(50.69, 33.21, -42.72)
CIE-LCHlch(50.69, 54.11, 307.86°)
OKLaboklab(58.84% 0.069 -0.1199)
OKLCHoklch(58.84% 0.138 299.9)
XYZxyz(25.0668, 18.9987, 53.3750)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67C2 #9FC267
analogous
#6771C2 #8A67C2 #B767C2
triadic
#8A67C2 #C28A67 #67C28A
tetradic
#8A67C2 #C26771 #9FC267 #67C2B7
square
#8A67C2 #C26771 #9FC267 #67C2B7
split-complementary
#8A67C2 #C2B767 #71C267
monochromatic
#4F327D #6A44A8 #8A67C2 #AC93D4 #CDBEE5

Accessibility & contrast

On white

4.38
#8A67C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A67C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67C2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67C2#FFFFFF#000000##000000
##8A67C21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#7F778B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a67c2;
/* rgb */ color: rgb(138, 103, 194);
/* oklch */ color: oklch(58.8% 0.138 299.9);
Tailwind
colors: {
  custom: {
    50: '#ae93d5',
    500: '#8a67c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a67c2;
$custom-light: #ae93d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67c2",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 194
  },
  "hsl": {
    "h": 263.077,
    "s": 42.723,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.13836,
    "h": 299.9
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#8A67C2
secondary
#C7D5B0
accent
#D355A2
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A67C2

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

Preview Lab → · Contrast checker → · Palette generator →

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