#8A6CF8#8A6CF8

#8A6CF8 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.0% C 0.200 H 289.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A6CF8
RGBrgb(138, 108, 248)
HSLhsl(253, 91%, 70%)
HSVhsv(253, 56%, 97%)
CMYKcmyk(44.4%, 56.5%, 0%, 2.7%)
CIE-LABlab(54.97, 44.73, -66.35)
CIE-LCHlch(54.97, 80.02, 303.98°)
OKLaboklab(63.05% 0.066 -0.1892)
OKLCHoklch(63.05% 0.2 289.2)
XYZxyz(32.7823, 22.9045, 91.4825)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CF8 #DAF86C
analogous
#6C94F8 #8A6CF8 #D06CF8
triadic
#8A6CF8 #F88A6C #6CF88A
tetradic
#8A6CF8 #F86C94 #DAF86C #6CF8D0
square
#8A6CF8 #F86C94 #DAF86C #6CF8D0
split-complementary
#8A6CF8 #F8D06C #94F86C
monochromatic
#380BDF #5C32F5 #8A6CF8 #B8A6FB #E7E1FE

Accessibility & contrast

On white

3.76
#8A6CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8A6CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CF8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CF8#FFFFFF#000000##000000
##8A6CF81.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E86FD
Deuteranopia (green-blind)
#1780F5
Tritanopia (blue-blind)
#688BA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6cf8;
/* rgb */ color: rgb(138, 108, 248);
/* oklch */ color: oklch(63.0% 0.200 289.2);
Tailwind
colors: {
  custom: {
    50: '#b397fb',
    500: '#8a6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cf8;
$custom-light: #b397fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cf8",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 252.857,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63046,
    "c": 0.20038,
    "h": 289.2
  },
  "luminance": 0.22906
}

Semantic roles & 50–950 ramp

primary
#8A6CF8
secondary
#EBF4CC
accent
#E600B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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