#8A68E5#8A68E5

#8A68E5 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.1% C 0.182 H 292.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A68E5
RGBrgb(138, 104, 229)
HSLhsl(256, 71%, 65%)
HSVhsv(256, 55%, 90%)
CMYKcmyk(39.7%, 54.6%, 0%, 10.2%)
CIE-LABlab(52.91, 41.79, -59.07)
CIE-LCHlch(52.91, 72.36, 305.28°)
OKLaboklab(61.14% 0.0704 -0.1678)
OKLCHoklch(61.14% 0.182 292.7)
XYZxyz(29.5706, 20.9603, 76.6013)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68E5 #C3E568
analogous
#6884E5 #8A68E5 #C868E5
triadic
#8A68E5 #E58A68 #68E58A
tetradic
#8A68E5 #E56884 #C3E568 #68E5C8
square
#8A68E5 #E56884 #C3E568 #68E5C8
split-complementary
#8A68E5 #E5C868 #84E568
monochromatic
#471FB4 #6234DC #8A68E5 #B29CEE #DBD0F7

Accessibility & contrast

On white

4.04
#8A68E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A68E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68E5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68E5#FFFFFF#000000##000000
##8A68E51.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#72829D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a68e5;
/* rgb */ color: rgb(138, 104, 229);
/* oklch */ color: oklch(61.1% 0.182 292.7);
Tailwind
colors: {
  custom: {
    50: '#b194ee',
    500: '#8a68e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a68e5;
$custom-light: #b194ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68e5",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 256.32,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.18198,
    "h": 292.7
  },
  "luminance": 0.20961
}

Semantic roles & 50–950 ramp

primary
#8A68E5
secondary
#DEE9BF
accent
#D3139E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68E5

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

Preview Lab → · Contrast checker → · Palette generator →

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