#8A6FF1#8A6FF1

#8A6FF1 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.187 H 289.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF1
RGBrgb(138, 111, 241)
HSLhsl(252, 82%, 69%)
HSVhsv(252, 54%, 95%)
CMYKcmyk(42.7%, 53.9%, 0%, 5.5%)
CIE-LABlab(55.20, 41.09, -62.10)
CIE-LCHlch(55.20, 74.46, 303.49°)
OKLaboklab(63.07% 0.0625 -0.1767)
OKLCHoklch(63.07% 0.187 289.5)
XYZxyz(32.0384, 23.1219, 85.9769)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF1 #D6F16F
analogous
#6F95F1 #8A6FF1 #CB6FF1
triadic
#8A6FF1 #F18A6F #6FF18A
tetradic
#8A6FF1 #F16F95 #D6F16F #6FF1CB
square
#8A6FF1 #F16F95 #D6F16F #6FF1CB
split-complementary
#8A6FF1 #F1CB6F #95F16F
monochromatic
#3C14D1 #5D37EC #8A6FF1 #B7A7F6 #E5DFFC

Accessibility & contrast

On white

3.73
#8A6FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A6FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF1#FFFFFF#000000##000000
##8A6FF11.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F5
Deuteranopia (green-blind)
#3081EE
Tritanopia (blue-blind)
#6C8BA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ff1;
/* rgb */ color: rgb(138, 111, 241);
/* oklch */ color: oklch(63.1% 0.187 289.5);
Tailwind
colors: {
  custom: {
    50: '#b299f6',
    500: '#8a6ff1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff1;
$custom-light: #b299f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff1",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 241
  },
  "hsl": {
    "h": 252.462,
    "s": 82.278,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63071,
    "c": 0.18742,
    "h": 289.5
  },
  "luminance": 0.23123
}

Semantic roles & 50–950 ramp

primary
#8A6FF1
secondary
#E9F1CB
accent
#DF07B2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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