#8A68C8#8A68C8

#8A68C8 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.4% C 0.145 H 298.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A68C8
RGBrgb(138, 104, 200)
HSLhsl(261, 47%, 60%)
HSVhsv(261, 48%, 78%)
CMYKcmyk(31%, 48%, 0%, 21.6%)
CIE-LABlab(51.24, 34.15, -45.29)
CIE-LCHlch(51.24, 56.72, 307.02°)
OKLaboklab(59.36% 0.0684 -0.1274)
OKLCHoklch(59.36% 0.145 298.2)
XYZxyz(25.8544, 19.4738, 57.0291)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68C8 #A6C868
analogous
#6876C8 #8A68C8 #BA68C8
triadic
#8A68C8 #C88A68 #68C88A
tetradic
#8A68C8 #C86876 #A6C868 #68C8BA
square
#8A68C8 #C86876 #A6C868 #68C8BA
split-complementary
#8A68C8 #C8BA68 #76C868
monochromatic
#4E3085 #6941B2 #8A68C8 #AD95D8 #D0C2E9

Accessibility & contrast

On white

4.29
#8A68C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A68C8#FFFFFF#000000##000000
##8A68C81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#7D7A8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a68c8;
/* rgb */ color: rgb(138, 104, 200);
/* oklch */ color: oklch(59.4% 0.145 298.2);
Tailwind
colors: {
  custom: {
    50: '#af94d9',
    500: '#8a68c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a68c8;
$custom-light: #af94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68c8",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 261.25,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59358,
    "c": 0.14461,
    "h": 298.2
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#8A68C8
secondary
#CBD9B3
accent
#D652A7
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A68C8

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

Preview Lab → · Contrast checker → · Palette generator →

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