#8A6DDF#8A6DDF

#8A6DDF is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.6% C 0.167 H 292.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A6DDF
RGBrgb(138, 109, 223)
HSLhsl(255, 64%, 65%)
HSVhsv(255, 51%, 87%)
CMYKcmyk(38.1%, 51.1%, 0%, 12.5%)
CIE-LABlab(53.67, 37.32, -54.47)
CIE-LCHlch(53.67, 66.03, 304.42°)
OKLaboklab(61.59% 0.064 -0.1543)
OKLCHoklch(61.59% 0.167 292.5)
XYZxyz(29.2656, 21.6675, 72.4381)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DDF #C2DF6D
analogous
#6D89DF #8A6DDF #C36DDF
triadic
#8A6DDF #DF8A6D #6DDF8A
tetradic
#8A6DDF #DF6D89 #C2DF6D #6DDFC3
square
#8A6DDF #DF6D89 #C2DF6D #6DDFC3
split-complementary
#8A6DDF #DFC36D #89DF6D
monochromatic
#4826AC #623BD4 #8A6DDF #B29FEA #DAD1F5

Accessibility & contrast

On white

3.94
#8A6DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A6DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DDF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DDF#FFFFFF#000000##000000
##8A6DDF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#74849C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6ddf;
/* rgb */ color: rgb(138, 109, 223);
/* oklch */ color: oklch(61.6% 0.167 292.5);
Tailwind
colors: {
  custom: {
    50: '#b097e9',
    500: '#8a6ddf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ddf;
$custom-light: #b097e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ddf",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 255.263,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61593,
    "c": 0.16704,
    "h": 292.5
  },
  "luminance": 0.21668
}

Semantic roles & 50–950 ramp

primary
#8A6DDF
secondary
#DDE7C1
accent
#CC1A9F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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