#8A6BBF#8A6BBF

#8A6BBF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.4% C 0.128 H 299.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A6BBF
RGBrgb(138, 107, 191)
HSLhsl(262, 40%, 58%)
HSVhsv(262, 44%, 75%)
CMYKcmyk(27.7%, 44%, 0%, 25.1%)
CIE-LABlab(51.47, 30.12, -39.75)
CIE-LCHlch(51.47, 49.88, 307.16°)
OKLaboklab(59.38% 0.063 -0.1113)
OKLCHoklch(59.38% 0.128 299.5)
XYZxyz(25.1407, 19.6801, 51.7542)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BBF #A0BF6B
analogous
#6B76BF #8A6BBF #B46BBF
triadic
#8A6BBF #BF8A6B #6BBF8A
tetradic
#8A6BBF #BF6B76 #A0BF6B #6BBFB4
square
#8A6BBF #BF6B76 #A0BF6B #6BBFB4
split-complementary
#8A6BBF #BFB46B #76BF6B
monochromatic
#4F357B #6A47A5 #8A6BBF #AC96D1 #CEC0E4

Accessibility & contrast

On white

4.25
#8A6BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A6BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BBF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BBF#FFFFFF#000000##000000
##8A6BBF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#807A8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6bbf;
/* rgb */ color: rgb(138, 107, 191);
/* oklch */ color: oklch(59.4% 0.128 299.5);
Tailwind
colors: {
  custom: {
    50: '#ae96d2',
    500: '#8a6bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bbf;
$custom-light: #ae96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bbf",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 262.143,
    "s": 39.623,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.12788,
    "h": 299.5
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#8A6BBF
secondary
#C7D4B2
accent
#D058A4
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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