#8A6BF1#8A6BF1

#8A6BF1 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.4% C 0.193 H 290.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF1
RGBrgb(138, 107, 241)
HSLhsl(254, 83%, 68%)
HSVhsv(254, 56%, 95%)
CMYKcmyk(42.7%, 55.6%, 0%, 5.5%)
CIE-LABlab(54.31, 43.36, -63.53)
CIE-LCHlch(54.31, 76.92, 304.31°)
OKLaboklab(62.42% 0.0671 -0.1809)
OKLCHoklch(62.42% 0.193 290.3)
XYZxyz(31.6117, 22.2685, 85.8347)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF1 #D2F16B
analogous
#6B8FF1 #8A6BF1 #CD6BF1
triadic
#8A6BF1 #F18A6B #6BF18A
tetradic
#8A6BF1 #F16B8F #D2F16B #6BF1CD
square
#8A6BF1 #F16B8F #D2F16B #6BF1CD
split-complementary
#8A6BF1 #F1CD6B #8FF16B
monochromatic
#3F13CE #5E33EC #8A6BF1 #B6A3F6 #E2DBFC

Accessibility & contrast

On white

3.85
#8A6BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A6BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF1#FFFFFF#000000##000000
##8A6BF11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E84F5
Deuteranopia (green-blind)
#267FEE
Tritanopia (blue-blind)
#6C88A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6bf1;
/* rgb */ color: rgb(138, 107, 241);
/* oklch */ color: oklch(62.4% 0.193 290.3);
Tailwind
colors: {
  custom: {
    50: '#b296f6',
    500: '#8a6bf1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf1;
$custom-light: #b296f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf1",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 253.881,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62415,
    "c": 0.19295,
    "h": 290.3
  },
  "luminance": 0.2227
}

Semantic roles & 50–950 ramp

primary
#8A6BF1
secondary
#E7F0C8
accent
#DF06AD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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