#8A67D7#8A67D7

#8A67D7 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.166 H 295.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A67D7
RGBrgb(138, 103, 215)
HSLhsl(259, 58%, 62%)
HSVhsv(259, 52%, 84%)
CMYKcmyk(35.8%, 52.1%, 0%, 15.7%)
CIE-LABlab(51.85, 38.63, -52.87)
CIE-LCHlch(51.85, 65.47, 306.16°)
OKLaboklab(60.09% 0.071 -0.1496)
OKLCHoklch(60.09% 0.166 295.4)
XYZxyz(27.5941, 20.0096, 66.6852)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D7 #B4D767
analogous
#677CD7 #8A67D7 #C267D7
triadic
#8A67D7 #D78A67 #67D78A
tetradic
#8A67D7 #D7677C #B4D767 #67D7C2
square
#8A67D7 #D7677C #B4D767 #67D7C2
split-complementary
#8A67D7 #D7C267 #7CD767
monochromatic
#4C299B #6537CA #8A67D7 #AF97E4 #D5C8F0

Accessibility & contrast

On white

4.20
#8A67D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A67D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D7#FFFFFF#000000##000000
##8A67D71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CDB
Deuteranopia (green-blind)
#427AD4
Tritanopia (blue-blind)
#787D95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a67d7;
/* rgb */ color: rgb(138, 103, 215);
/* oklch */ color: oklch(60.1% 0.166 295.4);
Tailwind
colors: {
  custom: {
    50: '#b093e4',
    500: '#8a67d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d7;
$custom-light: #b093e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d7",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 215
  },
  "hsl": {
    "h": 258.75,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.16558,
    "h": 295.4
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#8A67D7
secondary
#D5E1B8
accent
#C62092
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67D7

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

Preview Lab → · Contrast checker → · Palette generator →

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