#8A67DF#8A67DF

#8A67DF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.176 H 294.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A67DF
RGBrgb(138, 103, 223)
HSLhsl(258, 65%, 64%)
HSVhsv(258, 54%, 87%)
CMYKcmyk(38.1%, 53.8%, 0%, 12.5%)
CIE-LABlab(52.32, 40.75, -56.63)
CIE-LCHlch(52.32, 69.77, 305.74°)
OKLaboklab(60.59% 0.0714 -0.1606)
OKLCHoklch(60.59% 0.176 294)
XYZxyz(28.6473, 20.4308, 72.2319)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67DF #BCDF67
analogous
#6780DF #8A67DF #C667DF
triadic
#8A67DF #DF8A67 #67DF8A
tetradic
#8A67DF #DF6780 #BCDF67 #67DFC6
square
#8A67DF #DF6780 #BCDF67 #67DFC6
split-complementary
#8A67DF #DFC667 #80DF67
monochromatic
#4A23A8 #6334D4 #8A67DF #B19AEA #D8CCF4

Accessibility & contrast

On white

4.13
#8A67DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A67DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67DF#FFFFFF#000000##000000
##8A67DF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#758099
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a67df;
/* rgb */ color: rgb(138, 103, 223);
/* oklch */ color: oklch(60.6% 0.176 294.0);
Tailwind
colors: {
  custom: {
    50: '#b193ea',
    500: '#8a67df',
    950: '#000000',
  },
}
SCSS
$custom: #8a67df;
$custom-light: #b193ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67df",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 257.5,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.1758,
    "h": 294
  },
  "luminance": 0.20431
}

Semantic roles & 50–950 ramp

primary
#8A67DF
secondary
#DAE6BC
accent
#CD1898
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A67DF

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

Preview Lab → · Contrast checker → · Palette generator →

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