#8A6BF4#8A6BF4

#8A6BF4 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.6% C 0.197 H 289.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF4
RGBrgb(138, 107, 244)
HSLhsl(254, 86%, 69%)
HSVhsv(254, 56%, 96%)
CMYKcmyk(43.4%, 56.1%, 0%, 4.3%)
CIE-LABlab(54.50, 44.18, -64.89)
CIE-LCHlch(54.50, 78.51, 304.25°)
OKLaboklab(62.61% 0.0671 -0.1849)
OKLCHoklch(62.61% 0.197 289.9)
XYZxyz(32.0635, 22.4492, 88.2141)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF4 #D5F46B
analogous
#6B91F4 #8A6BF4 #CF6BF4
triadic
#8A6BF4 #F48A6B #6BF48A
tetradic
#8A6BF4 #F46B91 #D5F46B #6BF4CF
square
#8A6BF4 #F46B91 #D5F46B #6BF4CF
split-complementary
#8A6BF4 #F4CF6B #91F46B
monochromatic
#3C10D5 #5D32F0 #8A6BF4 #B7A4F8 #E4DDFC

Accessibility & contrast

On white

3.83
#8A6BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A6BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF4#FFFFFF#000000##000000
##8A6BF41.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1685F9
Deuteranopia (green-blind)
#1F7FF1
Tritanopia (blue-blind)
#6B89A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6bf4;
/* rgb */ color: rgb(138, 107, 244);
/* oklch */ color: oklch(62.6% 0.197 289.9);
Tailwind
colors: {
  custom: {
    50: '#b296f8',
    500: '#8a6bf4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf4;
$custom-light: #b296f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf4",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 253.577,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62615,
    "c": 0.19671,
    "h": 289.9
  },
  "luminance": 0.2245
}

Semantic roles & 50–950 ramp

primary
#8A6BF4
secondary
#E8F2C9
accent
#E303B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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