#8A68AF#8A68AF

#8A68AF is a mid, moderate violet. Relative luminance 0.184; OKLCH L 58.0% C 0.112 H 305.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A68AF
RGBrgb(138, 104, 175)
HSLhsl(269, 31%, 55%)
HSVhsv(269, 41%, 69%)
CMYKcmyk(21.1%, 40.6%, 0%, 31.4%)
CIE-LABlab(49.98, 27.95, -32.84)
CIE-LCHlch(49.98, 43.13, 310.40°)
OKLaboklab(58% 0.0644 -0.0913)
OKLCHoklch(58% 0.112 305.2)
XYZxyz(23.1678, 18.3992, 42.8800)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68AF #8DAF68
analogous
#686AAF #8A68AF #AD68AF
triadic
#8A68AF #AF8A68 #68AF8A
tetradic
#8A68AF #AF686A #8DAF68 #68AFAD
square
#8A68AF #AF686A #8DAF68 #68AFAD
split-complementary
#8A68AF #AFAD68 #6AAF68
monochromatic
#4D3666 #6B4B8E #8A68AF #A990C4 #C8B8D9

Accessibility & contrast

On white

4.49
#8A68AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A68AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68AF#FFFFFF#000000##000000
##8A68AF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#5F77AD
Tritanopia (blue-blind)
#847383
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a68af;
/* rgb */ color: rgb(138, 104, 175);
/* oklch */ color: oklch(58.0% 0.112 305.2);
Tailwind
colors: {
  custom: {
    50: '#ad93c7',
    500: '#8a68af',
    950: '#000000',
  },
}
SCSS
$custom: #8a68af;
$custom-light: #ad93c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68af",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 175
  },
  "hsl": {
    "h": 268.732,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58,
    "c": 0.11172,
    "h": 305.2
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#8A68AF
secondary
#BAC8AA
accent
#C76196
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A68AF

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

Preview Lab → · Contrast checker → · Palette generator →

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