#8A6DBF#8A6DBF

#8A6DBF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.7% C 0.125 H 298.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8A6DBF
RGBrgb(138, 109, 191)
HSLhsl(261, 39%, 59%)
HSVhsv(261, 43%, 75%)
CMYKcmyk(27.7%, 42.9%, 0%, 25.1%)
CIE-LABlab(51.95, 28.96, -39.00)
CIE-LCHlch(51.95, 48.57, 306.60°)
OKLaboklab(59.74% 0.0602 -0.1091)
OKLCHoklch(59.74% 0.125 298.9)
XYZxyz(25.3517, 20.1020, 51.8246)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DBF #A2BF6D
analogous
#6D79BF #8A6DBF #B36DBF
triadic
#8A6DBF #BF8A6D #6DBF8A
tetradic
#8A6DBF #BF6D79 #A2BF6D #6DBFB3
square
#8A6DBF #BF6D79 #A2BF6D #6DBFB3
split-complementary
#8A6DBF #BFB36D #79BF6D
monochromatic
#4F367B #6A49A6 #8A6DBF #AC98D2 #CEC2E4

Accessibility & contrast

On white

4.18
#8A6DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8A6DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DBF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DBF#FFFFFF#000000##000000
##8A6DBF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#5C7BBD
Tritanopia (blue-blind)
#807B8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6dbf;
/* rgb */ color: rgb(138, 109, 191);
/* oklch */ color: oklch(59.7% 0.125 298.9);
Tailwind
colors: {
  custom: {
    50: '#ae97d2',
    500: '#8a6dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dbf;
$custom-light: #ae97d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dbf",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 191
  },
  "hsl": {
    "h": 261.22,
    "s": 39.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.1246,
    "h": 298.9
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#8A6DBF
secondary
#C9D4B4
accent
#CF59A5
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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