#8A6FFB#8A6FFB

#8A6FFB is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 63.7% C 0.200 H 288.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A6FFB
RGBrgb(138, 111, 251)
HSLhsl(252, 95%, 71%)
HSVhsv(252, 56%, 98%)
CMYKcmyk(45%, 55.8%, 0%, 1.6%)
CIE-LABlab(55.82, 43.87, -66.65)
CIE-LCHlch(55.82, 79.79, 303.35°)
OKLaboklab(63.73% 0.0627 -0.1901)
OKLCHoklch(63.73% 0.2 288.2)
XYZxyz(33.5733, 23.7359, 94.0606)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FFB #E0FB6F
analogous
#6F9AFB #8A6FFB #D06FFB
triadic
#8A6FFB #FB8A6F #6FFB8A
tetradic
#8A6FFB #FB6F9A #E0FB6F #6FFBD0
square
#8A6FFB #FB6F9A #E0FB6F #6FFBD0
split-complementary
#8A6FFB #FBD06F #9AFB6F
monochromatic
#3206E9 #5A33F9 #8A6FFB #BAABFD #E7E1FE

Accessibility & contrast

On white

3.65
#8A6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8A6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FFB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FFB#FFFFFF#000000##000000
##8A6FFB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1789FF
Deuteranopia (green-blind)
#1A82F8
Tritanopia (blue-blind)
#678EAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a6ffb;
/* rgb */ color: rgb(138, 111, 251);
/* oklch */ color: oklch(63.7% 0.200 288.2);
Tailwind
colors: {
  custom: {
    50: '#b399fd',
    500: '#8a6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ffb;
$custom-light: #b399fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ffb",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 251.571,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.20012,
    "h": 288.2
  },
  "luminance": 0.23737
}

Semantic roles & 50–950 ramp

primary
#8A6FFB
secondary
#EEF6D0
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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