#8A6DF0#8A6DF0

#8A6DF0 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.7% C 0.189 H 290.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A6DF0
RGBrgb(138, 109, 240)
HSLhsl(253, 81%, 68%)
HSVhsv(253, 55%, 94%)
CMYKcmyk(42.5%, 54.6%, 0%, 5.9%)
CIE-LABlab(54.69, 41.95, -62.36)
CIE-LCHlch(54.69, 75.16, 303.93°)
OKLaboklab(62.68% 0.0648 -0.1775)
OKLCHoklch(62.68% 0.189 290.1)
XYZxyz(31.6737, 22.6308, 85.1205)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF0 #D3F06D
analogous
#6D91F0 #8A6DF0 #CB6DF0
triadic
#8A6DF0 #F08A6D #6DF08A
tetradic
#8A6DF0 #F06D91 #D3F06D #6DF0CB
square
#8A6DF0 #F06D91 #D3F06D #6DF0CB
split-complementary
#8A6DF0 #F0CB6D #91F06D
monochromatic
#3E15CD #5E36EA #8A6DF0 #B6A4F6 #E3DCFB

Accessibility & contrast

On white

3.80
#8A6DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A6DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DF0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DF0#FFFFFF#000000##000000
##8A6DF01.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F4
Deuteranopia (green-blind)
#2D80ED
Tritanopia (blue-blind)
#6D89A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6df0;
/* rgb */ color: rgb(138, 109, 240);
/* oklch */ color: oklch(62.7% 0.189 290.1);
Tailwind
colors: {
  custom: {
    50: '#b297f6',
    500: '#8a6df0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df0;
$custom-light: #b297f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df0",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 240
  },
  "hsl": {
    "h": 253.282,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62675,
    "c": 0.18892,
    "h": 290.1
  },
  "luminance": 0.22632
}

Semantic roles & 50–950 ramp

primary
#8A6DF0
secondary
#E7F0C9
accent
#DE08AE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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