#8A6DF5#8A6DF5

#8A6DF5 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.0% C 0.195 H 289.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A6DF5
RGBrgb(138, 109, 245)
HSLhsl(253, 87%, 69%)
HSVhsv(253, 56%, 96%)
CMYKcmyk(43.7%, 55.5%, 0%, 3.9%)
CIE-LABlab(55.00, 43.33, -64.64)
CIE-LCHlch(55.00, 77.82, 303.83°)
OKLaboklab(63.01% 0.0649 -0.1842)
OKLCHoklch(63.01% 0.195 289.4)
XYZxyz(32.4267, 22.9320, 89.0863)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF5 #D8F56D
analogous
#6D94F5 #8A6DF5 #CE6DF5
triadic
#8A6DF5 #F58A6D #6DF58A
tetradic
#8A6DF5 #F56D94 #D8F56D #6DF5CE
square
#8A6DF5 #F56D94 #D8F56D #6DF5CE
split-complementary
#8A6DF5 #F5CE6D #94F56D
monochromatic
#3A0FD9 #5C34F1 #8A6DF5 #B8A6F9 #E6E0FD

Accessibility & contrast

On white

3.76
#8A6DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A6DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DF5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DF5#FFFFFF#000000##000000
##8A6DF51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D86FA
Deuteranopia (green-blind)
#2380F2
Tritanopia (blue-blind)
#6A8BA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6df5;
/* rgb */ color: rgb(138, 109, 245);
/* oklch */ color: oklch(63.0% 0.195 289.4);
Tailwind
colors: {
  custom: {
    50: '#b298f9',
    500: '#8a6df5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df5;
$custom-light: #b298f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df5",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 252.794,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63006,
    "c": 0.19525,
    "h": 289.4
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

primary
#8A6DF5
secondary
#EAF2CB
accent
#E402B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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