#8A6FED#8A6FED

#8A6FED is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.8% C 0.182 H 290.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A6FED
RGBrgb(138, 111, 237)
HSLhsl(253, 78%, 68%)
HSVhsv(253, 53%, 93%)
CMYKcmyk(41.8%, 53.2%, 0%, 7.1%)
CIE-LABlab(54.95, 39.98, -60.26)
CIE-LCHlch(54.95, 72.32, 303.56°)
OKLaboklab(62.81% 0.0623 -0.1713)
OKLCHoklch(62.81% 0.182 290)
XYZxyz(31.4475, 22.8856, 82.8648)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FED #D2ED6F
analogous
#6F93ED #8A6FED #C96FED
triadic
#8A6FED #ED8A6F #6FED8A
tetradic
#8A6FED #ED6F93 #D2ED6F #6FEDC9
square
#8A6FED #ED6F93 #D2ED6F #6FEDC9
split-complementary
#8A6FED #EDC96F #93ED6F
monochromatic
#3F19C9 #5E39E6 #8A6FED #B6A5F4 #E2DCFB

Accessibility & contrast

On white

3.77
#8A6FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6FED#FFFFFF#000000##000000
##8A6FED1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F1
Deuteranopia (green-blind)
#3681EA
Tritanopia (blue-blind)
#6E8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6fed;
/* rgb */ color: rgb(138, 111, 237);
/* oklch */ color: oklch(62.8% 0.182 290.0);
Tailwind
colors: {
  custom: {
    50: '#b199f3',
    500: '#8a6fed',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fed;
$custom-light: #b199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fed",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 252.857,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62812,
    "c": 0.18229,
    "h": 290
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#8A6FED
secondary
#E7EFC9
accent
#DA0BAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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