#8A68A4#8A68A4

#8A68A4 is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.5% C 0.097 H 309.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A68A4
RGBrgb(138, 104, 164)
HSLhsl(274, 25%, 53%)
HSVhsv(274, 37%, 64%)
CMYKcmyk(15.9%, 36.6%, 0%, 35.7%)
CIE-LABlab(49.48, 25.37, -27.20)
CIE-LCHlch(49.48, 37.20, 313.01°)
OKLaboklab(57.46% 0.062 -0.075)
OKLCHoklch(57.46% 0.097 309.6)
XYZxyz(22.1312, 17.9845, 37.4202)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68A4 #82A468
analogous
#6C68A4 #8A68A4 #A468A0
triadic
#8A68A4 #A48A68 #68A48A
tetradic
#8A68A4 #A46C68 #82A468 #68A0A4
square
#8A68A4 #A46C68 #82A468 #68A0A4
split-complementary
#8A68A4 #A0A468 #68A46C
monochromatic
#4B375B #6B4E81 #8A68A4 #A88EBB #C5B4D2

Accessibility & contrast

On white

4.57
#8A68A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A68A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68A4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68A4#FFFFFF#000000##000000
##8A68A41.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A6
Deuteranopia (green-blind)
#6476A2
Tritanopia (blue-blind)
#87717E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a68a4;
/* rgb */ color: rgb(138, 104, 164);
/* oklch */ color: oklch(57.5% 0.097 309.6);
Tailwind
colors: {
  custom: {
    50: '#ad93bf',
    500: '#8a68a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a68a4;
$custom-light: #ad93bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68a4",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 164
  },
  "hsl": {
    "h": 274,
    "s": 24.793,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.09733,
    "h": 309.6
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#8A68A4
secondary
#B2C1A7
accent
#C1678E
background
#FAF9FB
surface
#F4F1F7
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A68A4

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

Preview Lab → · Contrast checker → · Palette generator →

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