#8A68DF#8A68DF

#8A68DF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.174 H 293.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A68DF
RGBrgb(138, 104, 223)
HSLhsl(257, 65%, 64%)
HSVhsv(257, 53%, 87%)
CMYKcmyk(38.1%, 53.4%, 0%, 12.5%)
CIE-LABlab(52.54, 40.18, -56.28)
CIE-LCHlch(52.54, 69.15, 305.53°)
OKLaboklab(60.75% 0.0702 -0.1596)
OKLCHoklch(60.75% 0.174 293.7)
XYZxyz(28.7473, 20.6310, 72.2653)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68DF #BDDF68
analogous
#6882DF #8A68DF #C668DF
triadic
#8A68DF #DF8A68 #68DF8A
tetradic
#8A68DF #DF6882 #BDDF68 #68DFC6
square
#8A68DF #DF6882 #BDDF68 #68DFC6
split-complementary
#8A68DF #DFC668 #82DF68
monochromatic
#4A24A9 #6336D4 #8A68DF #B19BEA #D8CDF4

Accessibility & contrast

On white

4.10
#8A68DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A68DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68DF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68DF#FFFFFF#000000##000000
##8A68DF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#3B7BDC
Tritanopia (blue-blind)
#75819A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a68df;
/* rgb */ color: rgb(138, 104, 223);
/* oklch */ color: oklch(60.8% 0.174 293.7);
Tailwind
colors: {
  custom: {
    50: '#b194ea',
    500: '#8a68df',
    950: '#000000',
  },
}
SCSS
$custom: #8a68df;
$custom-light: #b194ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68df",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 257.143,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.17435,
    "h": 293.7
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#8A68DF
secondary
#DAE6BD
accent
#CD1999
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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