#8A68BC#8A68BC

#8A68BC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.7% C 0.129 H 301.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A68BC
RGBrgb(138, 104, 188)
HSLhsl(264, 39%, 57%)
HSVhsv(264, 45%, 74%)
CMYKcmyk(26.6%, 44.7%, 0%, 26.3%)
CIE-LABlab(50.61, 31.12, -39.38)
CIE-LCHlch(50.61, 50.20, 308.32°)
OKLaboklab(58.68% 0.0668 -0.1102)
OKLCHoklch(58.68% 0.129 301.2)
XYZxyz(24.5066, 18.9347, 49.9309)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68BC #9ABC68
analogous
#6870BC #8A68BC #B468BC
triadic
#8A68BC #BC8A68 #68BC8A
tetradic
#8A68BC #BC6870 #9ABC68 #68BCB4
square
#8A68BC #BC6870 #9ABC68 #68BCB4
split-complementary
#8A68BC #BCB468 #70BC68
monochromatic
#4F3475 #6B47A0 #8A68BC #AB92CF #CCBDE2

Accessibility & contrast

On white

4.39
#8A68BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A68BC#FFFFFF#000000##000000
##8A68BC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#817789
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a68bc;
/* rgb */ color: rgb(138, 104, 188);
/* oklch */ color: oklch(58.7% 0.129 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae93d0',
    500: '#8a68bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a68bc;
$custom-light: #ae93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68bc",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 264.286,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.12884,
    "h": 301.2
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#8A68BC
secondary
#C3D1AF
accent
#CE599F
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A68BC

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

Preview Lab → · Contrast checker → · Palette generator →

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