#8A6FEC#8A6FEC

#8A6FEC is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.181 H 290.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A6FEC
RGBrgb(138, 111, 236)
HSLhsl(253, 77%, 68%)
HSVhsv(253, 53%, 93%)
CMYKcmyk(41.5%, 53%, 0%, 7.5%)
CIE-LABlab(54.89, 39.71, -59.80)
CIE-LCHlch(54.89, 71.79, 303.58°)
OKLaboklab(62.75% 0.0623 -0.1699)
OKLCHoklch(62.75% 0.181 290.1)
XYZxyz(31.3018, 22.8273, 82.0975)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FEC #D1EC6F
analogous
#6F92EC #8A6FEC #C86FEC
triadic
#8A6FEC #EC8A6F #6FEC8A
tetradic
#8A6FEC #EC6F92 #D1EC6F #6FECC8
square
#8A6FEC #EC6F92 #D1EC6F #6FECC8
split-complementary
#8A6FEC #ECC86F #92EC6F
monochromatic
#3F1AC6 #5E39E5 #8A6FEC #B6A5F3 #E2DBFA

Accessibility & contrast

On white

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

On black

5.57
#8A6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FEC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FEC#FFFFFF#000000##000000
##8A6FEC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#3881E9
Tritanopia (blue-blind)
#6E89A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6fec;
/* rgb */ color: rgb(138, 111, 236);
/* oklch */ color: oklch(62.7% 0.181 290.1);
Tailwind
colors: {
  custom: {
    50: '#b199f3',
    500: '#8a6fec',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fec;
$custom-light: #b199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fec",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 252.96,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62748,
    "c": 0.18101,
    "h": 290.1
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#8A6FEC
secondary
#E6EFC8
accent
#D90DAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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