#8A6FDB#8A6FDB

#8A6FDB is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.7% C 0.159 H 292.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A6FDB
RGBrgb(138, 111, 219)
HSLhsl(255, 60%, 65%)
HSVhsv(255, 49%, 86%)
CMYKcmyk(37%, 49.3%, 0%, 14.1%)
CIE-LABlab(53.91, 35.09, -51.84)
CIE-LCHlch(53.91, 62.60, 304.09°)
OKLaboklab(61.69% 0.0612 -0.1466)
OKLCHoklch(61.69% 0.159 292.6)
XYZxyz(28.9485, 21.8859, 69.7033)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FDB #C0DB6F
analogous
#6F8ADB #8A6FDB #C06FDB
triadic
#8A6FDB #DB8A6F #6FDB8A
tetradic
#8A6FDB #DB6F8A #C0DB6F #6FDBC0
square
#8A6FDB #DB6F8A #C0DB6F #6FDBC0
split-complementary
#8A6FDB #DBC06F #8ADB6F
monochromatic
#492AA6 #623ECF #8A6FDB #B2A0E7 #DAD1F3

Accessibility & contrast

On white

3.91
#8A6FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A6FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FDB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FDB#FFFFFF#000000##000000
##8A6FDB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#76849B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6fdb;
/* rgb */ color: rgb(138, 111, 219);
/* oklch */ color: oklch(61.7% 0.159 292.6);
Tailwind
colors: {
  custom: {
    50: '#b099e7',
    500: '#8a6fdb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fdb;
$custom-light: #b099e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fdb",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 255,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.15884,
    "h": 292.6
  },
  "luminance": 0.21887
}

Semantic roles & 50–950 ramp

primary
#8A6FDB
secondary
#DCE5C0
accent
#C81E9D
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A6FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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