#8A67C1#8A67C1

#8A67C1 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.8% C 0.137 H 300.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A67C1
RGBrgb(138, 103, 193)
HSLhsl(263, 42%, 58%)
HSVhsv(263, 47%, 76%)
CMYKcmyk(28.5%, 46.6%, 0%, 24.3%)
CIE-LABlab(50.63, 32.95, -42.23)
CIE-LCHlch(50.63, 53.57, 307.97°)
OKLaboklab(58.79% 0.0689 -0.1185)
OKLCHoklch(58.79% 0.137 300.2)
XYZxyz(24.9549, 18.9539, 52.7855)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67C1 #9EC167
analogous
#6771C1 #8A67C1 #B767C1
triadic
#8A67C1 #C18A67 #67C18A
tetradic
#8A67C1 #C16771 #9EC167 #67C1B7
square
#8A67C1 #C16771 #9EC167 #67C1B7
split-complementary
#8A67C1 #C1B767 #71C167
monochromatic
#4F327B #6A44A7 #8A67C1 #AB92D3 #CDBEE4

Accessibility & contrast

On white

4.38
#8A67C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A67C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67C1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67C1#FFFFFF#000000##000000
##8A67C11.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C4
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#7F778B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a67c1;
/* rgb */ color: rgb(138, 103, 193);
/* oklch */ color: oklch(58.8% 0.137 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae93d4',
    500: '#8a67c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a67c1;
$custom-light: #ae93d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67c1",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 193
  },
  "hsl": {
    "h": 263.333,
    "s": 42.056,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.13706,
    "h": 300.2
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#8A67C1
secondary
#C6D4B0
accent
#D256A2
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A67C1

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

Preview Lab → · Contrast checker → · Palette generator →

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