#8A68DD#8A68DD

#8A68DD is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.6% C 0.172 H 294.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A68DD
RGBrgb(138, 104, 221)
HSLhsl(257, 63%, 64%)
HSVhsv(257, 53%, 87%)
CMYKcmyk(37.6%, 52.9%, 0%, 13.3%)
CIE-LABlab(52.42, 39.65, -55.34)
CIE-LCHlch(52.42, 68.08, 305.62°)
OKLaboklab(60.63% 0.0701 -0.1568)
OKLCHoklch(60.63% 0.172 294.1)
XYZxyz(28.4793, 20.5237, 70.8536)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68DD #BBDD68
analogous
#6880DD #8A68DD #C468DD
triadic
#8A68DD #DD8A68 #68DD8A
tetradic
#8A68DD #DD6880 #BBDD68 #68DDC4
square
#8A68DD #DD6880 #BBDD68 #68DDC4
split-complementary
#8A68DD #DDC468 #80DD68
monochromatic
#4A25A5 #6336D2 #8A68DD #B19AE8 #D7CCF3

Accessibility & contrast

On white

4.11
#8A68DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8A68DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68DD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68DD#FFFFFF#000000##000000
##8A68DD1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#758099
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a68dd;
/* rgb */ color: rgb(138, 104, 221);
/* oklch */ color: oklch(60.6% 0.172 294.1);
Tailwind
colors: {
  custom: {
    50: '#b094e8',
    500: '#8a68dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a68dd;
$custom-light: #b094e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68dd",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 257.436,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60627,
    "c": 0.17179,
    "h": 294.1
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

primary
#8A68DD
secondary
#D9E5BC
accent
#CB1A98
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A68DD

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

Preview Lab → · Contrast checker → · Palette generator →

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