#8A6BE8#8A6BE8

#8A6BE8 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.8% C 0.182 H 291.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A6BE8
RGBrgb(138, 107, 232)
HSLhsl(255, 73%, 66%)
HSVhsv(255, 54%, 91%)
CMYKcmyk(40.5%, 53.9%, 0%, 9%)
CIE-LABlab(53.75, 40.90, -59.40)
CIE-LCHlch(53.75, 72.12, 304.55°)
OKLaboklab(61.83% 0.0669 -0.1688)
OKLCHoklch(61.83% 0.182 291.6)
XYZxyz(30.3005, 21.7440, 78.9288)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BE8 #C9E86B
analogous
#6B8BE8 #8A6BE8 #C96BE8
triadic
#8A6BE8 #E88A6B #6BE88A
tetradic
#8A6BE8 #E86B8B #C9E86B #6BE8C9
square
#8A6BE8 #E86B8B #C9E86B #6BE8C9
split-complementary
#8A6BE8 #E8C96B #8BE86B
monochromatic
#441DBB #6036E0 #8A6BE8 #B4A0F0 #DED5F8

Accessibility & contrast

On white

3.93
#8A6BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A6BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BE8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BE8#FFFFFF#000000##000000
##8A6BE81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EC
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#70859F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6be8;
/* rgb */ color: rgb(138, 107, 232);
/* oklch */ color: oklch(61.8% 0.182 291.6);
Tailwind
colors: {
  custom: {
    50: '#b196f0',
    500: '#8a6be8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6be8;
$custom-light: #b196f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6be8",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 254.88,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.18153,
    "h": 291.6
  },
  "luminance": 0.21745
}

Semantic roles & 50–950 ramp

primary
#8A6BE8
secondary
#E2ECC3
accent
#D510A4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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