#8A67EA#8A67EA

#8A67EA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.190 H 292.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A67EA
RGBrgb(138, 103, 234)
HSLhsl(256, 76%, 66%)
HSVhsv(256, 56%, 92%)
CMYKcmyk(41%, 56%, 0%, 8.2%)
CIE-LABlab(53.00, 43.71, -61.73)
CIE-LCHlch(53.00, 75.64, 305.30°)
OKLaboklab(61.31% 0.0716 -0.1756)
OKLCHoklch(61.31% 0.19 292.2)
XYZxyz(30.1787, 21.0434, 80.2977)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67EA #C7EA67
analogous
#6785EA #8A67EA #CC67EA
triadic
#8A67EA #EA8A67 #67EA8A
tetradic
#8A67EA #EA6785 #C7EA67 #67EACC
square
#8A67EA #EA6785 #C7EA67 #67EACC
split-complementary
#8A67EA #EACC67 #85EA67
monochromatic
#451ABD #6131E3 #8A67EA #B39DF1 #DDD3F9

Accessibility & contrast

On white

4.03
#8A67EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8A67EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67EA#FFFFFF#000000##000000
##8A67EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80EE
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#70839F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a67ea;
/* rgb */ color: rgb(138, 103, 234);
/* oklch */ color: oklch(61.3% 0.190 292.2);
Tailwind
colors: {
  custom: {
    50: '#b293f1',
    500: '#8a67ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a67ea;
$custom-light: #b293f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67ea",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 234
  },
  "hsl": {
    "h": 256.031,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.18968,
    "h": 292.2
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#8A67EA
secondary
#E0ECC1
accent
#D80EA2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A67EA

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

Preview Lab → · Contrast checker → · Palette generator →

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