#8A6EFA#8A6EFA

#8A6EFA is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.5% C 0.200 H 288.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A6EFA
RGBrgb(138, 110, 250)
HSLhsl(252, 93%, 71%)
HSVhsv(252, 56%, 98%)
CMYKcmyk(44.8%, 56%, 0%, 2%)
CIE-LABlab(55.54, 44.15, -66.55)
CIE-LCHlch(55.54, 79.86, 303.56°)
OKLaboklab(63.5% 0.0638 -0.1898)
OKLCHoklch(63.5% 0.2 288.6)
XYZxyz(33.3076, 23.4560, 93.1964)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EFA #DEFA6E
analogous
#6E98FA #8A6EFA #D06EFA
triadic
#8A6EFA #FA8A6E #6EFA8A
tetradic
#8A6EFA #FA6E98 #DEFA6E #6EFAD0
square
#8A6EFA #FA6E98 #DEFA6E #6EFAD0
split-complementary
#8A6EFA #FAD06E #98FA6E
monochromatic
#3408E6 #5A33F8 #8A6EFA #BAA9FC #E7E1FE

Accessibility & contrast

On white

3.69
#8A6EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A6EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EFA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EFA#FFFFFF#000000##000000
##8A6EFA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1488FF
Deuteranopia (green-blind)
#1981F7
Tritanopia (blue-blind)
#678DAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6efa;
/* rgb */ color: rgb(138, 110, 250);
/* oklch */ color: oklch(63.5% 0.200 288.6);
Tailwind
colors: {
  custom: {
    50: '#b398fd',
    500: '#8a6efa',
    950: '#000000',
  },
}
SCSS
$custom: #8a6efa;
$custom-light: #b398fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6efa",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 252,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63503,
    "c": 0.2002,
    "h": 288.6
  },
  "luminance": 0.23457
}

Semantic roles & 50–950 ramp

primary
#8A6EFA
secondary
#EDF5CF
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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