#8A6BF3#8A6BF3

#8A6BF3 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.5% C 0.195 H 290.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF3
RGBrgb(138, 107, 243)
HSLhsl(254, 85%, 69%)
HSVhsv(254, 56%, 95%)
CMYKcmyk(43.2%, 56%, 0%, 4.7%)
CIE-LABlab(54.44, 43.91, -64.44)
CIE-LCHlch(54.44, 77.98, 304.27°)
OKLaboklab(62.55% 0.0671 -0.1836)
OKLCHoklch(62.55% 0.195 290.1)
XYZxyz(31.9121, 22.3886, 87.4167)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF3 #D4F36B
analogous
#6B90F3 #8A6BF3 #CE6BF3
triadic
#8A6BF3 #F38A6B #6BF38A
tetradic
#8A6BF3 #F36B90 #D4F36B #6BF3CE
square
#8A6BF3 #F36B90 #D4F36B #6BF3CE
split-complementary
#8A6BF3 #F3CE6B #90F36B
monochromatic
#3D11D3 #5D32EE #8A6BF3 #B7A4F8 #E4DCFC

Accessibility & contrast

On white

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

On black

5.48
#8A6BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF3#FFFFFF#000000##000000
##8A6BF31.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F8
Deuteranopia (green-blind)
#217FF0
Tritanopia (blue-blind)
#6B89A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6bf3;
/* rgb */ color: rgb(138, 107, 243);
/* oklch */ color: oklch(62.5% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#b296f8',
    500: '#8a6bf3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf3;
$custom-light: #b296f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf3",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 253.676,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.19546,
    "h": 290.1
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#8A6BF3
secondary
#E8F1C9
accent
#E104AF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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