#8A6BF5#8A6BF5

#8A6BF5 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.7% C 0.198 H 289.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF5
RGBrgb(138, 107, 245)
HSLhsl(253, 87%, 69%)
HSVhsv(253, 56%, 96%)
CMYKcmyk(43.7%, 56.3%, 0%, 3.9%)
CIE-LABlab(54.56, 44.46, -65.35)
CIE-LCHlch(54.56, 79.04, 304.23°)
OKLaboklab(62.68% 0.0671 -0.1862)
OKLCHoklch(62.68% 0.198 289.8)
XYZxyz(32.2157, 22.5101, 89.0160)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF5 #D6F56B
analogous
#6B91F5 #8A6BF5 #CF6BF5
triadic
#8A6BF5 #F58A6B #6BF58A
tetradic
#8A6BF5 #F56B91 #D6F56B #6BF5CF
square
#8A6BF5 #F56B91 #D6F56B #6BF5CF
split-complementary
#8A6BF5 #F5CF6B #91F56B
monochromatic
#3C0FD7 #5D32F1 #8A6BF5 #B7A4F9 #E5DEFD

Accessibility & contrast

On white

3.82
#8A6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF5#FFFFFF#000000##000000
##8A6BF51.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1385FA
Deuteranopia (green-blind)
#1C7FF2
Tritanopia (blue-blind)
#6A89A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6bf5;
/* rgb */ color: rgb(138, 107, 245);
/* oklch */ color: oklch(62.7% 0.198 289.8);
Tailwind
colors: {
  custom: {
    50: '#b296f9',
    500: '#8a6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf5;
$custom-light: #b296f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf5",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 253.478,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.19796,
    "h": 289.8
  },
  "luminance": 0.22511
}

Semantic roles & 50–950 ramp

primary
#8A6BF5
secondary
#E9F2CA
accent
#E402B1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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