#8A6BE4#8A6BE4

#8A6BE4 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.6% C 0.176 H 292.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A6BE4
RGBrgb(138, 107, 228)
HSLhsl(255, 69%, 66%)
HSVhsv(255, 53%, 89%)
CMYKcmyk(39.5%, 53.1%, 0%, 10.6%)
CIE-LABlab(53.51, 39.82, -57.54)
CIE-LCHlch(53.51, 69.97, 304.68°)
OKLaboklab(61.57% 0.0667 -0.1633)
OKLCHoklch(61.57% 0.176 292.2)
XYZxyz(29.7388, 21.5193, 75.9705)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BE4 #C5E46B
analogous
#6B88E4 #8A6BE4 #C66BE4
triadic
#8A6BE4 #E48A6B #6BE48A
tetradic
#8A6BE4 #E46B88 #C5E46B #6BE4C6
square
#8A6BE4 #E46B88 #C5E46B #6BE4C6
split-complementary
#8A6BE4 #E4C66B #88E46B
monochromatic
#4621B4 #6137DB #8A6BE4 #B39FED #DCD3F7

Accessibility & contrast

On white

3.96
#8A6BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A6BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BE4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BE4#FFFFFF#000000##000000
##8A6BE41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#3B7DE1
Tritanopia (blue-blind)
#72849D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6be4;
/* rgb */ color: rgb(138, 107, 228);
/* oklch */ color: oklch(61.6% 0.176 292.2);
Tailwind
colors: {
  custom: {
    50: '#b196ed',
    500: '#8a6be4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6be4;
$custom-light: #b196ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6be4",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 228
  },
  "hsl": {
    "h": 255.372,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.17641,
    "h": 292.2
  },
  "luminance": 0.2152
}

Semantic roles & 50–950 ramp

primary
#8A6BE4
secondary
#DFEAC1
accent
#D114A1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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