#8A6CF0#8A6CF0

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

Color values

HEX#8A6CF0
RGBrgb(138, 108, 240)
HSLhsl(254, 81%, 68%)
HSVhsv(254, 55%, 94%)
CMYKcmyk(42.5%, 55%, 0%, 5.9%)
CIE-LABlab(54.47, 42.52, -62.72)
CIE-LCHlch(54.47, 75.77, 304.13°)
OKLaboklab(62.51% 0.0659 -0.1785)
OKLCHoklch(62.51% 0.19 290.3)
XYZxyz(31.5676, 22.4186, 85.0852)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CF0 #D2F06C
analogous
#6C90F0 #8A6CF0 #CC6CF0
triadic
#8A6CF0 #F08A6C #6CF08A
tetradic
#8A6CF0 #F06C90 #D2F06C #6CF0CC
square
#8A6CF0 #F06C90 #D2F06C #6CF0CC
split-complementary
#8A6CF0 #F0CC6C #90F06C
monochromatic
#3F15CD #5E34EA #8A6CF0 #B6A4F6 #E2DBFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6CF0#FFFFFF#000000##000000
##8A6CF01.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)
#2485F4
Deuteranopia (green-blind)
#2B7FED
Tritanopia (blue-blind)
#6D89A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6cf0;
/* rgb */ color: rgb(138, 108, 240);
/* oklch */ color: oklch(62.5% 0.190 290.3);
Tailwind
colors: {
  custom: {
    50: '#b297f6',
    500: '#8a6cf0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cf0;
$custom-light: #b297f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cf0",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 240
  },
  "hsl": {
    "h": 253.636,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62511,
    "c": 0.1903,
    "h": 290.3
  },
  "luminance": 0.2242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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