#8A6FFE#8A6FFE

#8A6FFE is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 63.9% C 0.204 H 287.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A6FFE
RGBrgb(138, 111, 254)
HSLhsl(251, 99%, 72%)
HSVhsv(251, 56%, 100%)
CMYKcmyk(45.7%, 56.3%, 0%, 0.4%)
CIE-LABlab(56.01, 44.70, -68.00)
CIE-LCHlch(56.01, 81.37, 303.32°)
OKLaboklab(63.94% 0.0627 -0.194)
OKLCHoklch(63.94% 0.204 287.9)
XYZxyz(34.0499, 23.9265, 96.5709)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FFE #E3FE6F
analogous
#6F9CFE #8A6FFE #D26FFE
triadic
#8A6FFE #FE8A6F #6FFE8A
tetradic
#8A6FFE #FE6F9C #E3FE6F #6FFED2
square
#8A6FFE #FE6F9C #E3FE6F #6FFED2
split-complementary
#8A6FFE #FED26F #9CFE6F
monochromatic
#2F02F1 #5932FE #8A6FFE #BBACFE #E6E1FF

Accessibility & contrast

On white

3.63
#8A6FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A6FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FFE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FFE#FFFFFF#000000##000000
##8A6FFE1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A8AFF
Deuteranopia (green-blind)
#0E82FB
Tritanopia (blue-blind)
#658FAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a6ffe;
/* rgb */ color: rgb(138, 111, 254);
/* oklch */ color: oklch(63.9% 0.204 287.9);
Tailwind
colors: {
  custom: {
    50: '#b399ff',
    500: '#8a6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ffe;
$custom-light: #b399ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ffe",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 251.329,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63936,
    "c": 0.2039,
    "h": 287.9
  },
  "luminance": 0.23928
}

Semantic roles & 50–950 ramp

primary
#8A6FFE
secondary
#F0F7D2
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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