#8A6FF3#8A6FF3

#8A6FF3 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.190 H 289.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF3
RGBrgb(138, 111, 243)
HSLhsl(252, 85%, 69%)
HSVhsv(252, 54%, 95%)
CMYKcmyk(43.2%, 54.3%, 0%, 4.7%)
CIE-LABlab(55.32, 41.64, -63.02)
CIE-LCHlch(55.32, 75.53, 303.46°)
OKLaboklab(63.2% 0.0625 -0.1794)
OKLCHoklch(63.2% 0.19 289.2)
XYZxyz(32.3388, 23.2421, 87.5589)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF3 #D8F36F
analogous
#6F96F3 #8A6FF3 #CC6FF3
triadic
#8A6FF3 #F38A6F #6FF38A
tetradic
#8A6FF3 #F36F96 #D8F36F #6FF3CC
square
#8A6FF3 #F36F96 #D8F36F #6FF3CC
split-complementary
#8A6FF3 #F3CC6F #96F36F
monochromatic
#3A12D6 #5C37EE #8A6FF3 #B8A7F8 #E6E0FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6FF3#FFFFFF#000000##000000
##8A6FF31.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)
#2987F7
Deuteranopia (green-blind)
#2D81F0
Tritanopia (blue-blind)
#6B8CA6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ff3;
/* rgb */ color: rgb(138, 111, 243);
/* oklch */ color: oklch(63.2% 0.190 289.2);
Tailwind
colors: {
  custom: {
    50: '#b299f8',
    500: '#8a6ff3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff3;
$custom-light: #b299f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff3",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 252.273,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63202,
    "c": 0.18998,
    "h": 289.2
  },
  "luminance": 0.23243
}

Semantic roles & 50–950 ramp

primary
#8A6FF3
secondary
#EAF2CC
accent
#E104B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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