#8A68BD#8A68BD

#8A68BD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.7% C 0.130 H 300.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A68BD
RGBrgb(138, 104, 189)
HSLhsl(264, 39%, 57%)
HSVhsv(264, 45%, 74%)
CMYKcmyk(27%, 45%, 0%, 25.9%)
CIE-LABlab(50.66, 31.37, -39.88)
CIE-LCHlch(50.66, 50.74, 308.19°)
OKLaboklab(58.74% 0.0669 -0.1116)
OKLCHoklch(58.74% 0.13 300.9)
XYZxyz(24.6148, 18.9779, 50.5006)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68BD #9BBD68
analogous
#6870BD #8A68BD #B568BD
triadic
#8A68BD #BD8A68 #68BD8A
tetradic
#8A68BD #BD6870 #9BBD68 #68BDB5
square
#8A68BD #BD6870 #9BBD68 #68BDB5
split-complementary
#8A68BD #BDB568 #70BD68
monochromatic
#4F3477 #6B47A1 #8A68BD #AB93D0 #CCBDE2

Accessibility & contrast

On white

4.38
#8A68BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A68BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68BD#FFFFFF#000000##000000
##8A68BD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#5878BB
Tritanopia (blue-blind)
#807789
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a68bd;
/* rgb */ color: rgb(138, 104, 189);
/* oklch */ color: oklch(58.7% 0.130 300.9);
Tailwind
colors: {
  custom: {
    50: '#ae94d1',
    500: '#8a68bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a68bd;
$custom-light: #ae94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68bd",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 264,
    "s": 39.171,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.13016,
    "h": 300.9
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#8A68BD
secondary
#C4D2AF
accent
#CF59A0
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A68BD

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

Preview Lab → · Contrast checker → · Palette generator →

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