#8A68D9#8A68D9

#8A68D9 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.167 H 294.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A68D9
RGBrgb(138, 104, 217)
HSLhsl(258, 60%, 63%)
HSVhsv(258, 52%, 85%)
CMYKcmyk(36.4%, 52.1%, 0%, 14.9%)
CIE-LABlab(52.19, 38.59, -53.45)
CIE-LCHlch(52.19, 65.93, 305.82°)
OKLaboklab(60.38% 0.0699 -0.1513)
OKLCHoklch(60.38% 0.167 294.8)
XYZxyz(27.9527, 20.3131, 68.0803)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68D9 #B7D968
analogous
#687ED9 #8A68D9 #C268D9
triadic
#8A68D9 #D98A68 #68D98A
tetradic
#8A68D9 #D9687E #B7D968 #68D9C2
square
#8A68D9 #D9687E #B7D968 #68D9C2
split-complementary
#8A68D9 #D9C268 #7ED968
monochromatic
#4C289F #6437CD #8A68D9 #B099E5 #D6CAF2

Accessibility & contrast

On white

4.15
#8A68D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A68D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68D9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68D9#FFFFFF#000000##000000
##8A68D91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDD
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#777F97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a68d9;
/* rgb */ color: rgb(138, 104, 217);
/* oklch */ color: oklch(60.4% 0.167 294.8);
Tailwind
colors: {
  custom: {
    50: '#b094e5',
    500: '#8a68d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a68d9;
$custom-light: #b094e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68d9",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 217
  },
  "hsl": {
    "h": 258.053,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.16667,
    "h": 294.8
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#8A68D9
secondary
#D6E3BA
accent
#C71E94
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68D9

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

Preview Lab → · Contrast checker → · Palette generator →

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