#8A6FDD#8A6FDD

#8A6FDD is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.161 H 292.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A6FDD
RGBrgb(138, 111, 221)
HSLhsl(255, 62%, 65%)
HSVhsv(255, 50%, 87%)
CMYKcmyk(37.6%, 49.8%, 0%, 13.3%)
CIE-LABlab(54.02, 35.63, -52.79)
CIE-LCHlch(54.02, 63.69, 304.01°)
OKLaboklab(61.81% 0.0613 -0.1494)
OKLCHoklch(61.81% 0.161 292.3)
XYZxyz(29.2134, 21.9919, 71.0983)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FDD #C2DD6F
analogous
#6F8BDD #8A6FDD #C16FDD
triadic
#8A6FDD #DD8A6F #6FDD8A
tetradic
#8A6FDD #DD6F8B #C2DD6F #6FDDC1
square
#8A6FDD #DD6F8B #C2DD6F #6FDDC1
split-complementary
#8A6FDD #DDC16F #8BDD6F
monochromatic
#4828AA #623DD1 #8A6FDD #B2A1E9 #DAD2F4

Accessibility & contrast

On white

3.89
#8A6FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A6FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FDD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FDD#FFFFFF#000000##000000
##8A6FDD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#75859C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6fdd;
/* rgb */ color: rgb(138, 111, 221);
/* oklch */ color: oklch(61.8% 0.161 292.3);
Tailwind
colors: {
  custom: {
    50: '#b099e8',
    500: '#8a6fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fdd;
$custom-light: #b099e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fdd",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 254.727,
    "s": 61.798,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.16147,
    "h": 292.3
  },
  "luminance": 0.21993
}

Semantic roles & 50–950 ramp

primary
#8A6FDD
secondary
#DDE7C1
accent
#CA1C9F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A6FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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