#8A67CC#8A67CC

#8A67CC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.4% C 0.151 H 297.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A67CC
RGBrgb(138, 103, 204)
HSLhsl(261, 50%, 60%)
HSVhsv(261, 50%, 80%)
CMYKcmyk(32.4%, 49.5%, 0%, 20%)
CIE-LABlab(51.22, 35.76, -47.60)
CIE-LCHlch(51.22, 59.53, 306.92°)
OKLaboklab(59.42% 0.0701 -0.1342)
OKLCHoklch(59.42% 0.151 297.6)
XYZxyz(26.2279, 19.4631, 59.4900)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67CC #A9CC67
analogous
#6776CC #8A67CC #BC67CC
triadic
#8A67CC #CC8A67 #67CC8A
tetradic
#8A67CC #CC6776 #A9CC67 #67CCBC
square
#8A67CC #CC6776 #A9CC67 #67CCBC
split-complementary
#8A67CC #CCBC67 #76CC67
monochromatic
#4E2E8A #683EB8 #8A67CC #AD95DB #D1C3EB

Accessibility & contrast

On white

4.29
#8A67CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A67CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67CC#FFFFFF#000000##000000
##8A67CC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#7C7A90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a67cc;
/* rgb */ color: rgb(138, 103, 204);
/* oklch */ color: oklch(59.4% 0.151 297.6);
Tailwind
colors: {
  custom: {
    50: '#af93dc',
    500: '#8a67cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a67cc;
$custom-light: #af93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67cc",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 204
  },
  "hsl": {
    "h": 260.792,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.15139,
    "h": 297.6
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#8A67CC
secondary
#CDDBB4
accent
#BD288A
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A67CC

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

Preview Lab → · Contrast checker → · Palette generator →

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