#8A6BF8#8A6BF8

#8A6BF8 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 62.9% C 0.202 H 289.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF8
RGBrgb(138, 107, 248)
HSLhsl(253, 91%, 70%)
HSVhsv(253, 57%, 97%)
CMYKcmyk(44.4%, 56.9%, 0%, 2.7%)
CIE-LABlab(54.76, 45.29, -66.70)
CIE-LCHlch(54.76, 80.62, 304.17°)
OKLaboklab(62.89% 0.0671 -0.1902)
OKLCHoklch(62.89% 0.202 289.4)
XYZxyz(32.6774, 22.6948, 91.4475)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF8 #D9F86B
analogous
#6B93F8 #8A6BF8 #D06BF8
triadic
#8A6BF8 #F88A6B #6BF88A
tetradic
#8A6BF8 #F86B93 #D9F86B #6BF8D0
square
#8A6BF8 #F86B93 #D9F86B #6BF8D0
split-complementary
#8A6BF8 #F8D06B #93F86B
monochromatic
#390BDE #5C31F5 #8A6BF8 #B8A5FB #E6E0FE

Accessibility & contrast

On white

3.79
#8A6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A6BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF8#FFFFFF#000000##000000
##8A6BF81.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0486FD
Deuteranopia (green-blind)
#1280F5
Tritanopia (blue-blind)
#698AA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6bf8;
/* rgb */ color: rgb(138, 107, 248);
/* oklch */ color: oklch(62.9% 0.202 289.4);
Tailwind
colors: {
  custom: {
    50: '#b396fb',
    500: '#8a6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf8;
$custom-light: #b396fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf8",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 253.191,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62886,
    "c": 0.20172,
    "h": 289.4
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#8A6BF8
secondary
#EBF4CB
accent
#E600B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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