#8A6FDE#8A6FDE

#8A6FDE is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.163 H 292.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A6FDE
RGBrgb(138, 111, 222)
HSLhsl(255, 63%, 65%)
HSVhsv(255, 50%, 87%)
CMYKcmyk(37.8%, 50%, 0%, 12.9%)
CIE-LABlab(54.08, 35.90, -53.26)
CIE-LCHlch(54.08, 64.23, 303.98°)
OKLaboklab(61.87% 0.0614 -0.1507)
OKLCHoklch(61.87% 0.163 292.2)
XYZxyz(29.3470, 22.0453, 71.8020)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FDE #C3DE6F
analogous
#6F8BDE #8A6FDE #C26FDE
triadic
#8A6FDE #DE8A6F #6FDE8A
tetradic
#8A6FDE #DE6F8B #C3DE6F #6FDEC2
square
#8A6FDE #DE6F8B #C3DE6F #6FDEC2
split-complementary
#8A6FDE #DEC26F #8BDE6F
monochromatic
#4727AB #623DD3 #8A6FDE #B2A1E9 #DBD3F5

Accessibility & contrast

On white

3.88
#8A6FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A6FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FDE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FDE#FFFFFF#000000##000000
##8A6FDE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#75859C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6fde;
/* rgb */ color: rgb(138, 111, 222);
/* oklch */ color: oklch(61.9% 0.163 292.2);
Tailwind
colors: {
  custom: {
    50: '#b099e9',
    500: '#8a6fde',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fde;
$custom-light: #b099e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fde",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 254.595,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.16278,
    "h": 292.2
  },
  "luminance": 0.22046
}

Semantic roles & 50–950 ramp

primary
#8A6FDE
secondary
#DEE7C2
accent
#CA1BA0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A6FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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