#8A68C7#8A68C7

#8A68C7 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.3% C 0.143 H 298.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A68C7
RGBrgb(138, 104, 199)
HSLhsl(261, 46%, 59%)
HSVhsv(261, 48%, 78%)
CMYKcmyk(30.7%, 47.7%, 0%, 22%)
CIE-LABlab(51.18, 33.90, -44.80)
CIE-LCHlch(51.18, 56.18, 307.11°)
OKLaboklab(59.3% 0.0683 -0.126)
OKLCHoklch(59.3% 0.143 298.4)
XYZxyz(25.7379, 19.4272, 56.4156)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68C7 #A5C768
analogous
#6876C7 #8A68C7 #BA68C7
triadic
#8A68C7 #C78A68 #68C78A
tetradic
#8A68C7 #C76876 #A5C768 #68C7BA
square
#8A68C7 #C76876 #A5C768 #68C7BA
split-complementary
#8A68C7 #C7BA68 #76C768
monochromatic
#4F3184 #6941B0 #8A68C7 #AD95D8 #CFC1E8

Accessibility & contrast

On white

4.30
#8A68C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A68C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68C7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68C7#FFFFFF#000000##000000
##8A68C71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#7D7A8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a68c7;
/* rgb */ color: rgb(138, 104, 199);
/* oklch */ color: oklch(59.3% 0.143 298.4);
Tailwind
colors: {
  custom: {
    50: '#af94d8',
    500: '#8a68c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a68c7;
$custom-light: #af94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68c7",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 261.474,
    "s": 45.894,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.1433,
    "h": 298.4
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#8A68C7
secondary
#CBD8B3
accent
#D652A7
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A68C7

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

Preview Lab → · Contrast checker → · Palette generator →

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