#8A68E6#8A68E6

#8A68E6 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.183 H 292.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A68E6
RGBrgb(138, 104, 230)
HSLhsl(256, 72%, 65%)
HSVhsv(256, 55%, 90%)
CMYKcmyk(40%, 54.8%, 0%, 9.8%)
CIE-LABlab(52.97, 42.06, -59.54)
CIE-LCHlch(52.97, 72.90, 305.24°)
OKLaboklab(61.2% 0.0704 -0.1692)
OKLCHoklch(61.2% 0.183 292.6)
XYZxyz(29.7106, 21.0163, 77.3387)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68E6 #C4E668
analogous
#6885E6 #8A68E6 #C968E6
triadic
#8A68E6 #E68A68 #68E68A
tetradic
#8A68E6 #E66885 #C4E668 #68E6C9
square
#8A68E6 #E66885 #C4E668 #68E6C9
split-complementary
#8A68E6 #E6C968 #85E668
monochromatic
#471EB6 #6133DD #8A68E6 #B39DEF #DBD1F7

Accessibility & contrast

On white

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

On black

5.20
#8A68E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68E6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68E6#FFFFFF#000000##000000
##8A68E61.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980EA
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#72839D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a68e6;
/* rgb */ color: rgb(138, 104, 230);
/* oklch */ color: oklch(61.2% 0.183 292.6);
Tailwind
colors: {
  custom: {
    50: '#b194ef',
    500: '#8a68e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a68e6;
$custom-light: #b194ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68e6",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 256.19,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.18324,
    "h": 292.6
  },
  "luminance": 0.21017
}

Semantic roles & 50–950 ramp

primary
#8A68E6
secondary
#DFEAC0
accent
#D4129F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68E6

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

Preview Lab → · Contrast checker → · Palette generator →

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