#8A6DF3#8A6DF3

#8A6DF3 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.193 H 289.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A6DF3
RGBrgb(138, 109, 243)
HSLhsl(253, 85%, 69%)
HSVhsv(253, 55%, 95%)
CMYKcmyk(43.2%, 55.1%, 0%, 4.7%)
CIE-LABlab(54.88, 42.78, -63.73)
CIE-LCHlch(54.88, 76.76, 303.87°)
OKLaboklab(62.87% 0.0648 -0.1815)
OKLCHoklch(62.87% 0.193 289.7)
XYZxyz(32.1230, 22.8105, 87.4870)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF3 #D6F36D
analogous
#6D93F3 #8A6DF3 #CD6DF3
triadic
#8A6DF3 #F38A6D #6DF38A
tetradic
#8A6DF3 #F36D93 #D6F36D #6DF3CD
square
#8A6DF3 #F36D93 #D6F36D #6DF3CD
split-complementary
#8A6DF3 #F3CD6D #93F36D
monochromatic
#3C11D4 #5D34EE #8A6DF3 #B7A6F8 #E5DEFC

Accessibility & contrast

On white

3.78
#8A6DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A6DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DF3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DF3#FFFFFF#000000##000000
##8A6DF31.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2286F8
Deuteranopia (green-blind)
#2780F0
Tritanopia (blue-blind)
#6B8AA6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6df3;
/* rgb */ color: rgb(138, 109, 243);
/* oklch */ color: oklch(62.9% 0.193 289.7);
Tailwind
colors: {
  custom: {
    50: '#b298f8',
    500: '#8a6df3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df3;
$custom-light: #b298f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df3",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 252.985,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.19273,
    "h": 289.7
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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