#8A67CE#8A67CE

#8A67CE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.5% C 0.154 H 297.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A67CE
RGBrgb(138, 103, 206)
HSLhsl(260, 51%, 61%)
HSVhsv(260, 50%, 81%)
CMYKcmyk(33%, 50%, 0%, 19.2%)
CIE-LABlab(51.34, 36.28, -48.56)
CIE-LCHlch(51.34, 60.62, 306.76°)
OKLaboklab(59.54% 0.0703 -0.137)
OKLCHoklch(59.54% 0.154 297.2)
XYZxyz(26.4693, 19.5597, 60.7614)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67CE #ABCE67
analogous
#6777CE #8A67CE #BD67CE
triadic
#8A67CE #CE8A67 #67CE8A
tetradic
#8A67CE #CE6777 #ABCE67 #67CEBD
square
#8A67CE #CE6777 #ABCE67 #67CEBD
split-complementary
#8A67CE #CEBD67 #77CE67
monochromatic
#4E2D8D #683CBB #8A67CE #AE95DD #D1C4EC

Accessibility & contrast

On white

4.28
#8A67CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8A67CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67CE#FFFFFF#000000##000000
##8A67CE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD2
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#7B7B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a67ce;
/* rgb */ color: rgb(138, 103, 206);
/* oklch */ color: oklch(59.5% 0.154 297.2);
Tailwind
colors: {
  custom: {
    50: '#af93dd',
    500: '#8a67ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a67ce;
$custom-light: #af93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67ce",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 206
  },
  "hsl": {
    "h": 260.388,
    "s": 51.244,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.15399,
    "h": 297.2
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#8A67CE
secondary
#CFDCB5
accent
#BF278B
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A67CE

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

Preview Lab → · Contrast checker → · Palette generator →

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