#8A68BB#8A68BB

#8A68BB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.6% C 0.128 H 301.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A68BB
RGBrgb(138, 104, 187)
HSLhsl(265, 38%, 57%)
HSVhsv(265, 44%, 73%)
CMYKcmyk(26.2%, 44.4%, 0%, 26.7%)
CIE-LABlab(50.56, 30.87, -38.89)
CIE-LCHlch(50.56, 49.65, 308.45°)
OKLaboklab(58.63% 0.0666 -0.1088)
OKLCHoklch(58.63% 0.128 301.5)
XYZxyz(24.3992, 18.8917, 49.3651)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68BB #99BB68
analogous
#6870BB #8A68BB #B468BB
triadic
#8A68BB #BB8A68 #68BB8A
tetradic
#8A68BB #BB6870 #99BB68 #68BBB4
square
#8A68BB #BB6870 #99BB68 #68BBB4
split-complementary
#8A68BB #BBB468 #70BB68
monochromatic
#4F3474 #6B479E #8A68BB #AB92CE #CBBCE1

Accessibility & contrast

On white

4.39
#8A68BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8A68BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68BB#FFFFFF#000000##000000
##8A68BB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#817688
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a68bb;
/* rgb */ color: rgb(138, 104, 187);
/* oklch */ color: oklch(58.6% 0.128 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae93d0',
    500: '#8a68bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a68bb;
$custom-light: #ae93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68bb",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 264.578,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.12753,
    "h": 301.5
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#8A68BB
secondary
#C2D0AF
accent
#CE5A9E
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A68BB

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

Preview Lab → · Contrast checker → · Palette generator →

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