#8A68E8#8A68E8

#8A68E8 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.3% C 0.186 H 292.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A68E8
RGBrgb(138, 104, 232)
HSLhsl(256, 74%, 66%)
HSVhsv(256, 55%, 91%)
CMYKcmyk(40.5%, 55.2%, 0%, 9%)
CIE-LABlab(53.09, 42.60, -60.46)
CIE-LCHlch(53.09, 73.96, 305.17°)
OKLaboklab(61.33% 0.0704 -0.1719)
OKLCHoklch(61.33% 0.186 292.3)
XYZxyz(29.9931, 21.1293, 78.8264)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68E8 #C6E868
analogous
#6886E8 #8A68E8 #CA68E8
triadic
#8A68E8 #E88A68 #68E88A
tetradic
#8A68E8 #E86886 #C6E868 #68E8CA
square
#8A68E8 #E86886 #C6E868 #68E8CA
split-complementary
#8A68E8 #E8CA68 #86E868
monochromatic
#461CB9 #6133E0 #8A68E8 #B39DF0 #DCD2F8

Accessibility & contrast

On white

4.02
#8A68E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A68E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68E8#FFFFFF#000000##000000
##8A68E81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#2F7CE5
Tritanopia (blue-blind)
#71839E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a68e8;
/* rgb */ color: rgb(138, 104, 232);
/* oklch */ color: oklch(61.3% 0.186 292.3);
Tailwind
colors: {
  custom: {
    50: '#b194f0',
    500: '#8a68e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a68e8;
$custom-light: #b194f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68e8",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 255.938,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.18577,
    "h": 292.3
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#8A68E8
secondary
#E0EBC1
accent
#D610A1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68E8

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

Preview Lab → · Contrast checker → · Palette generator →

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