#8A6BE9#8A6BE9

#8A6BE9 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.9% C 0.183 H 291.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A6BE9
RGBrgb(138, 107, 233)
HSLhsl(255, 74%, 67%)
HSVhsv(255, 54%, 91%)
CMYKcmyk(40.8%, 54.1%, 0%, 8.6%)
CIE-LABlab(53.82, 41.17, -59.86)
CIE-LCHlch(53.82, 72.65, 304.52°)
OKLaboklab(61.89% 0.0669 -0.1701)
OKLCHoklch(61.89% 0.183 291.5)
XYZxyz(30.4429, 21.8010, 79.6790)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BE9 #CAE96B
analogous
#6B8BE9 #8A6BE9 #C96BE9
triadic
#8A6BE9 #E98A6B #6BE98A
tetradic
#8A6BE9 #E96B8B #CAE96B #6BE9C9
square
#8A6BE9 #E96B8B #CAE96B #6BE9C9
split-complementary
#8A6BE9 #E9C96B #8BE96B
monochromatic
#441CBD #6036E1 #8A6BE9 #B4A0F1 #DED6F9

Accessibility & contrast

On white

3.92
#8A6BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8A6BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BE9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BE9#FFFFFF#000000##000000
##8A6BE91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83ED
Deuteranopia (green-blind)
#347EE6
Tritanopia (blue-blind)
#7086A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6be9;
/* rgb */ color: rgb(138, 107, 233);
/* oklch */ color: oklch(61.9% 0.183 291.5);
Tailwind
colors: {
  custom: {
    50: '#b196f1',
    500: '#8a6be9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6be9;
$custom-light: #b196f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6be9",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 233
  },
  "hsl": {
    "h": 254.762,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6189,
    "c": 0.18281,
    "h": 291.5
  },
  "luminance": 0.21802
}

Semantic roles & 50–950 ramp

primary
#8A6BE9
secondary
#E2ECC4
accent
#D60FA5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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