#8A68EE#8A68EE

#8A68EE is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.193 H 291.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A68EE
RGBrgb(138, 104, 238)
HSLhsl(255, 80%, 67%)
HSVhsv(255, 56%, 93%)
CMYKcmyk(42%, 56.3%, 0%, 6.7%)
CIE-LABlab(53.47, 44.23, -63.22)
CIE-LCHlch(53.47, 77.15, 304.98°)
OKLaboklab(61.73% 0.0705 -0.18)
OKLCHoklch(61.73% 0.193 291.4)
XYZxyz(30.8599, 21.4760, 83.3917)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68EE #CCEE68
analogous
#6889EE #8A68EE #CD68EE
triadic
#8A68EE #EE8A68 #68EE8A
tetradic
#8A68EE #EE6889 #CCEE68 #68EECD
square
#8A68EE #EE6889 #CCEE68 #68EECD
split-complementary
#8A68EE #EECD68 #89EE68
monochromatic
#4316C5 #5F31E8 #8A68EE #B59FF4 #DFD6FA

Accessibility & contrast

On white

3.97
#8A68EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A68EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68EE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68EE#FFFFFF#000000##000000
##8A68EE1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1882F2
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#6E85A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a68ee;
/* rgb */ color: rgb(138, 104, 238);
/* oklch */ color: oklch(61.7% 0.193 291.4);
Tailwind
colors: {
  custom: {
    50: '#b294f4',
    500: '#8a68ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a68ee;
$custom-light: #b294f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68ee",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 255.224,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61732,
    "c": 0.1933,
    "h": 291.4
  },
  "luminance": 0.21477
}

Semantic roles & 50–950 ramp

primary
#8A68EE
secondary
#E3EEC4
accent
#DC09A7
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68EE

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

Preview Lab → · Contrast checker → · Palette generator →

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