#8A6DFA#8A6DFA

#8A6DFA is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.3% C 0.202 H 288.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A6DFA
RGBrgb(138, 109, 250)
HSLhsl(252, 93%, 70%)
HSVhsv(252, 56%, 98%)
CMYKcmyk(44.8%, 56.4%, 0%, 2%)
CIE-LABlab(55.32, 44.72, -66.90)
CIE-LCHlch(55.32, 80.47, 303.76°)
OKLaboklab(63.34% 0.0649 -0.1908)
OKLCHoklch(63.34% 0.202 288.8)
XYZxyz(33.2003, 23.2414, 93.1607)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DFA #DDFA6D
analogous
#6D97FA #8A6DFA #D06DFA
triadic
#8A6DFA #FA8A6D #6DFA8A
tetradic
#8A6DFA #FA6D97 #DDFA6D #6DFAD0
square
#8A6DFA #FA6D97 #DDFA6D #6DFAD0
split-complementary
#8A6DFA #FAD06D #97FA6D
monochromatic
#3508E5 #5B32F8 #8A6DFA #B9A8FC #E7E1FE

Accessibility & contrast

On white

3.72
#8A6DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A6DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DFA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DFA#FFFFFF#000000##000000
##8A6DFA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C87FF
Deuteranopia (green-blind)
#1481F7
Tritanopia (blue-blind)
#678CA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6dfa;
/* rgb */ color: rgb(138, 109, 250);
/* oklch */ color: oklch(63.3% 0.202 288.8);
Tailwind
colors: {
  custom: {
    50: '#b398fd',
    500: '#8a6dfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dfa;
$custom-light: #b398fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dfa",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 252.34,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63342,
    "c": 0.20154,
    "h": 288.8
  },
  "luminance": 0.23243
}

Semantic roles & 50–950 ramp

primary
#8A6DFA
secondary
#EDF5CE
accent
#E600B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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