#8A68AA#8A68AA

#8A68AA is a mid, moderate violet. Relative luminance 0.182; OKLCH L 57.7% C 0.105 H 307.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A68AA
RGBrgb(138, 104, 170)
HSLhsl(271, 28%, 54%)
HSVhsv(271, 39%, 67%)
CMYKcmyk(18.8%, 38.8%, 0%, 33.3%)
CIE-LABlab(49.75, 26.77, -30.29)
CIE-LCHlch(49.75, 40.42, 311.46°)
OKLaboklab(57.75% 0.0634 -0.0839)
OKLCHoklch(57.75% 0.105 307.1)
XYZxyz(22.6858, 18.2064, 40.3415)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68AA #88AA68
analogous
#6968AA #8A68AA #AA68A9
triadic
#8A68AA #AA8A68 #68AA8A
tetradic
#8A68AA #AA6968 #88AA68 #68A9AA
square
#8A68AA #AA6968 #88AA68 #68A9AA
split-complementary
#8A68AA #A9AA68 #68AA69
monochromatic
#4C3761 #6B4D88 #8A68AA #A88FC0 #C7B6D6

Accessibility & contrast

On white

4.52
#8A68AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A68AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68AA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68AA#FFFFFF#000000##000000
##8A68AA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#867281
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a68aa;
/* rgb */ color: rgb(138, 104, 170);
/* oklch */ color: oklch(57.7% 0.105 307.1);
Tailwind
colors: {
  custom: {
    50: '#ad93c3',
    500: '#8a68aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a68aa;
$custom-light: #ad93c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68aa",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 170
  },
  "hsl": {
    "h": 270.909,
    "s": 27.966,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.10515,
    "h": 307.1
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#8A68AA
secondary
#B6C5A9
accent
#C46492
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A68AA

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

Preview Lab → · Contrast checker → · Palette generator →

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