#8A67EC#8A67EC

#8A67EC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.192 H 291.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A67EC
RGBrgb(138, 103, 236)
HSLhsl(256, 78%, 66%)
HSVhsv(256, 56%, 93%)
CMYKcmyk(41.5%, 56.4%, 0%, 7.5%)
CIE-LABlab(53.12, 44.25, -62.65)
CIE-LCHlch(53.12, 76.70, 305.23°)
OKLaboklab(61.44% 0.0716 -0.1783)
OKLCHoklch(61.44% 0.192 291.9)
XYZxyz(30.4677, 21.1590, 81.8194)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67EC #C9EC67
analogous
#6787EC #8A67EC #CC67EC
triadic
#8A67EC #EC8A67 #67EC8A
tetradic
#8A67EC #EC6787 #C9EC67 #67ECCC
square
#8A67EC #EC6787 #C9EC67 #67ECCC
split-complementary
#8A67EC #ECCC67 #87EC67
monochromatic
#4418C1 #6031E5 #8A67EC #B49DF3 #DED4FA

Accessibility & contrast

On white

4.01
#8A67EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A67EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67EC#FFFFFF#000000##000000
##8A67EC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F0
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#6F84A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a67ec;
/* rgb */ color: rgb(138, 103, 236);
/* oklch */ color: oklch(61.4% 0.192 291.9);
Tailwind
colors: {
  custom: {
    50: '#b293f3',
    500: '#8a67ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a67ec;
$custom-light: #b293f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67ec",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 255.789,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.19218,
    "h": 291.9
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#8A67EC
secondary
#E2EDC2
accent
#DA0BA4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A67EC

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

Preview Lab → · Contrast checker → · Palette generator →

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