#8A68EA#8A68EA

#8A68EA is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.188 H 292.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A68EA
RGBrgb(138, 104, 234)
HSLhsl(256, 76%, 66%)
HSVhsv(256, 56%, 92%)
CMYKcmyk(41%, 55.6%, 0%, 8.2%)
CIE-LABlab(53.22, 43.14, -61.38)
CIE-LCHlch(53.22, 75.03, 305.10°)
OKLaboklab(61.47% 0.0705 -0.1746)
OKLCHoklch(61.47% 0.188 292)
XYZxyz(30.2788, 21.2435, 80.3310)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68EA #C8EA68
analogous
#6887EA #8A68EA #CB68EA
triadic
#8A68EA #EA8A68 #68EA8A
tetradic
#8A68EA #EA6887 #C8EA68 #68EACB
square
#8A68EA #EA6887 #C8EA68 #68EACB
split-complementary
#8A68EA #EACB68 #87EA68
monochromatic
#451ABD #6032E3 #8A68EA #B49EF1 #DDD3F9

Accessibility & contrast

On white

4.00
#8A68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68EA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68EA#FFFFFF#000000##000000
##8A68EA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281EE
Deuteranopia (green-blind)
#2C7CE7
Tritanopia (blue-blind)
#70849F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a68ea;
/* rgb */ color: rgb(138, 104, 234);
/* oklch */ color: oklch(61.5% 0.188 292.0);
Tailwind
colors: {
  custom: {
    50: '#b294f1',
    500: '#8a68ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a68ea;
$custom-light: #b294f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68ea",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 255.692,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.18828,
    "h": 292
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#8A68EA
secondary
#E1ECC2
accent
#D80EA3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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