#8A67D2#8A67D2

#8A67D2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.8% C 0.159 H 296.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A67D2
RGBrgb(138, 103, 210)
HSLhsl(260, 54%, 61%)
HSVhsv(260, 51%, 82%)
CMYKcmyk(34.3%, 51%, 0%, 17.6%)
CIE-LABlab(51.56, 37.32, -50.48)
CIE-LCHlch(51.56, 62.78, 306.47°)
OKLaboklab(59.78% 0.0707 -0.1426)
OKLCHoklch(59.78% 0.159 296.4)
XYZxyz(26.9614, 19.7565, 63.3532)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D2 #AFD267
analogous
#677AD2 #8A67D2 #C067D2
triadic
#8A67D2 #D28A67 #67D28A
tetradic
#8A67D2 #D2677A #AFD267 #67D2C0
square
#8A67D2 #D2677A #AFD267 #67D2C0
split-complementary
#8A67D2 #D2C067 #7AD267
monochromatic
#4D2C93 #663AC2 #8A67D2 #AE96E0 #D3C5EE

Accessibility & contrast

On white

4.24
#8A67D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A67D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D2#FFFFFF#000000##000000
##8A67D21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7BD6
Deuteranopia (green-blind)
#477ACF
Tritanopia (blue-blind)
#7A7C93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a67d2;
/* rgb */ color: rgb(138, 103, 210);
/* oklch */ color: oklch(59.8% 0.159 296.4);
Tailwind
colors: {
  custom: {
    50: '#af93e0',
    500: '#8a67d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d2;
$custom-light: #af93e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d2",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 210
  },
  "hsl": {
    "h": 259.626,
    "s": 54.315,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.15916,
    "h": 296.4
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#8A67D2
secondary
#D1DEB6
accent
#C2248E
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A67D2

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

Preview Lab → · Contrast checker → · Palette generator →

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