#8A68CE#8A68CE

#8A68CE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.7% C 0.152 H 296.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A68CE
RGBrgb(138, 104, 206)
HSLhsl(260, 51%, 61%)
HSVhsv(260, 50%, 81%)
CMYKcmyk(33%, 49.5%, 0%, 19.2%)
CIE-LABlab(51.56, 35.70, -48.20)
CIE-LCHlch(51.56, 59.98, 306.53°)
OKLaboklab(59.71% 0.069 -0.1359)
OKLCHoklch(59.71% 0.152 296.9)
XYZxyz(26.5694, 19.7598, 60.7948)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68CE #ACCE68
analogous
#6879CE #8A68CE #BD68CE
triadic
#8A68CE #CE8A68 #68CE8A
tetradic
#8A68CE #CE6879 #ACCE68 #68CEBD
square
#8A68CE #CE6879 #ACCE68 #68CEBD
split-complementary
#8A68CE #CEBD68 #79CE68
monochromatic
#4E2E8E #673DBC #8A68CE #AE96DD #D2C4EC

Accessibility & contrast

On white

4.24
#8A68CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A68CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68CE#FFFFFF#000000##000000
##8A68CE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#7B7C91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a68ce;
/* rgb */ color: rgb(138, 104, 206);
/* oklch */ color: oklch(59.7% 0.152 296.9);
Tailwind
colors: {
  custom: {
    50: '#af94dd',
    500: '#8a68ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a68ce;
$custom-light: #af94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68ce",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 260,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59709,
    "c": 0.15244,
    "h": 296.9
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#8A68CE
secondary
#CFDCB6
accent
#BE278C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A68CE

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

Preview Lab → · Contrast checker → · Palette generator →

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