#8A68DB#8A68DB

#8A68DB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.169 H 294.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A68DB
RGBrgb(138, 104, 219)
HSLhsl(258, 61%, 63%)
HSVhsv(258, 53%, 86%)
CMYKcmyk(37%, 52.5%, 0%, 14.1%)
CIE-LABlab(52.31, 39.12, -54.40)
CIE-LCHlch(52.31, 67.00, 305.72°)
OKLaboklab(60.5% 0.07 -0.1541)
OKLCHoklch(60.5% 0.169 294.4)
XYZxyz(28.2144, 20.4178, 69.4586)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68DB #B9DB68
analogous
#687FDB #8A68DB #C368DB
triadic
#8A68DB #DB8A68 #68DB8A
tetradic
#8A68DB #DB687F #B9DB68 #68DBC3
square
#8A68DB #DB687F #B9DB68 #68DBC3
split-complementary
#8A68DB #DBC368 #7FDB68
monochromatic
#4B27A2 #6437CF #8A68DB #B099E7 #D7CBF3

Accessibility & contrast

On white

4.13
#8A68DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8A68DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68DB#FFFFFF#000000##000000
##8A68DB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#767F98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a68db;
/* rgb */ color: rgb(138, 104, 219);
/* oklch */ color: oklch(60.5% 0.169 294.4);
Tailwind
colors: {
  custom: {
    50: '#b094e7',
    500: '#8a68db',
    950: '#000000',
  },
}
SCSS
$custom: #8a68db;
$custom-light: #b094e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68db",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 257.739,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.16924,
    "h": 294.4
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#8A68DB
secondary
#D8E4BB
accent
#C91C96
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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