#8A6BDE#8A6BDE

#8A6BDE is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.2% C 0.169 H 293.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A6BDE
RGBrgb(138, 107, 222)
HSLhsl(256, 64%, 65%)
HSVhsv(256, 52%, 87%)
CMYKcmyk(37.8%, 51.8%, 0%, 12.9%)
CIE-LABlab(53.16, 38.20, -54.73)
CIE-LCHlch(53.16, 66.74, 304.91°)
OKLaboklab(61.19% 0.0664 -0.155)
OKLCHoklch(61.19% 0.169 293.2)
XYZxyz(28.9203, 21.1919, 71.6598)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BDE #BFDE6B
analogous
#6B86DE #8A6BDE #C46BDE
triadic
#8A6BDE #DE8A6B #6BDE8A
tetradic
#8A6BDE #DE6B86 #BFDE6B #6BDEC4
square
#8A6BDE #DE6B86 #BFDE6B #6BDEC4
split-complementary
#8A6BDE #DEC46B #86DE6B
monochromatic
#4926A9 #6239D3 #8A6BDE #B29DE9 #D9CFF4

Accessibility & contrast

On white

4.01
#8A6BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A6BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BDE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BDE#FFFFFF#000000##000000
##8A6BDE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E2
Deuteranopia (green-blind)
#417DDB
Tritanopia (blue-blind)
#75829A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6bde;
/* rgb */ color: rgb(138, 107, 222);
/* oklch */ color: oklch(61.2% 0.169 293.2);
Tailwind
colors: {
  custom: {
    50: '#b096e9',
    500: '#8a6bde',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bde;
$custom-light: #b096e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bde",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 222
  },
  "hsl": {
    "h": 256.174,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.16868,
    "h": 293.2
  },
  "luminance": 0.21193
}

Semantic roles & 50–950 ramp

primary
#8A6BDE
secondary
#DCE6BF
accent
#CB1A9C
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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