#8A68E0#8A68E0

#8A68E0 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.8% C 0.176 H 293.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A68E0
RGBrgb(138, 104, 224)
HSLhsl(257, 66%, 64%)
HSVhsv(257, 54%, 88%)
CMYKcmyk(38.4%, 53.6%, 0%, 12.2%)
CIE-LABlab(52.60, 40.45, -56.75)
CIE-LCHlch(52.60, 69.69, 305.48°)
OKLaboklab(60.82% 0.0702 -0.161)
OKLCHoklch(60.82% 0.176 293.6)
XYZxyz(28.8825, 20.6850, 72.9774)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68E0 #BEE068
analogous
#6882E0 #8A68E0 #C668E0
triadic
#8A68E0 #E08A68 #68E08A
tetradic
#8A68E0 #E06882 #BEE068 #68E0C6
square
#8A68E0 #E06882 #BEE068 #68E0C6
split-complementary
#8A68E0 #E0C668 #82E068
monochromatic
#4923AB #6335D6 #8A68E0 #B19BEA #D9CEF5

Accessibility & contrast

On white

4.09
#8A68E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8A68E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68E0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68E0#FFFFFF#000000##000000
##8A68E01.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#327FE4
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#74819A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a68e0;
/* rgb */ color: rgb(138, 104, 224);
/* oklch */ color: oklch(60.8% 0.176 293.6);
Tailwind
colors: {
  custom: {
    50: '#b194ea',
    500: '#8a68e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a68e0;
$custom-light: #b194ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68e0",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 224
  },
  "hsl": {
    "h": 257,
    "s": 65.934,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.17562,
    "h": 293.6
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#8A68E0
secondary
#DBE7BD
accent
#CE189A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68E0

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

Preview Lab → · Contrast checker → · Palette generator →

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