#8A68A5#8A68A5

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

Color values

HEX#8A68A5
RGBrgb(138, 104, 165)
HSLhsl(273, 25%, 53%)
HSVhsv(273, 37%, 65%)
CMYKcmyk(16.4%, 37%, 0%, 35.3%)
CIE-LABlab(49.52, 25.60, -27.72)
CIE-LCHlch(49.52, 37.73, 312.73°)
OKLaboklab(57.51% 0.0622 -0.0765)
OKLCHoklch(57.51% 0.099 309.1)
XYZxyz(22.2218, 18.0208, 37.8977)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68A5 #83A568
analogous
#6C68A5 #8A68A5 #A568A1
triadic
#8A68A5 #A58A68 #68A58A
tetradic
#8A68A5 #A56C68 #83A568 #68A1A5
square
#8A68A5 #A56C68 #83A568 #68A1A5
split-complementary
#8A68A5 #A1A568 #68A56C
monochromatic
#4B375C #6B4E82 #8A68A5 #A88EBC #C5B5D3

Accessibility & contrast

On white

4.56
#8A68A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A68A5#FFFFFF#000000##000000
##8A68A51.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#6476A3
Tritanopia (blue-blind)
#87717F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a68a5;
/* rgb */ color: rgb(138, 104, 165);
/* oklch */ color: oklch(57.5% 0.099 309.1);
Tailwind
colors: {
  custom: {
    50: '#ad93c0',
    500: '#8a68a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a68a5;
$custom-light: #ad93c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68a5",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 165
  },
  "hsl": {
    "h": 273.443,
    "s": 25.311,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.09863,
    "h": 309.1
  },
  "luminance": 0.18021
}

Semantic roles & 50–950 ramp

primary
#8A68A5
secondary
#B3C2A7
accent
#C2668F
background
#FAF9FB
surface
#F4F1F7
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A68A5

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

Preview Lab → · Contrast checker → · Palette generator →

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