#8A68DA#8A68DA

#8A68DA is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.4% C 0.168 H 294.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A68DA
RGBrgb(138, 104, 218)
HSLhsl(258, 61%, 63%)
HSVhsv(258, 52%, 85%)
CMYKcmyk(36.7%, 52.3%, 0%, 14.5%)
CIE-LABlab(52.25, 38.85, -53.93)
CIE-LCHlch(52.25, 66.46, 305.77°)
OKLaboklab(60.44% 0.0699 -0.1527)
OKLCHoklch(60.44% 0.168 294.6)
XYZxyz(28.0832, 20.3653, 68.7674)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68DA #B8DA68
analogous
#687FDA #8A68DA #C368DA
triadic
#8A68DA #DA8A68 #68DA8A
tetradic
#8A68DA #DA687F #B8DA68 #68DAC3
square
#8A68DA #DA687F #B8DA68 #68DAC3
split-complementary
#8A68DA #DAC368 #7FDA68
monochromatic
#4B27A0 #6437CE #8A68DA #B099E6 #D6CAF2

Accessibility & contrast

On white

4.14
#8A68DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A68DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68DA#FFFFFF#000000##000000
##8A68DA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#417BD7
Tritanopia (blue-blind)
#777F97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a68da;
/* rgb */ color: rgb(138, 104, 218);
/* oklch */ color: oklch(60.4% 0.168 294.6);
Tailwind
colors: {
  custom: {
    50: '#b094e6',
    500: '#8a68da',
    950: '#000000',
  },
}
SCSS
$custom: #8a68da;
$custom-light: #b094e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68da",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 257.895,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.16795,
    "h": 294.6
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#8A68DA
secondary
#D7E3BA
accent
#C81D95
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68DA

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

Preview Lab → · Contrast checker → · Palette generator →

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