#8A6FF5#8A6FF5

#8A6FF5 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.193 H 289.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF5
RGBrgb(138, 111, 245)
HSLhsl(252, 87%, 70%)
HSVhsv(252, 55%, 96%)
CMYKcmyk(43.7%, 54.7%, 0%, 3.9%)
CIE-LABlab(55.44, 42.20, -63.93)
CIE-LCHlch(55.44, 76.60, 303.43°)
OKLaboklab(63.33% 0.0626 -0.1821)
OKLCHoklch(63.33% 0.193 289)
XYZxyz(32.6424, 23.3635, 89.1582)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF5 #DAF56F
analogous
#6F97F5 #8A6FF5 #CD6FF5
triadic
#8A6FF5 #F58A6F #6FF58A
tetradic
#8A6FF5 #F56F97 #DAF56F #6FF5CD
square
#8A6FF5 #F56F97 #DAF56F #6FF5CD
split-complementary
#8A6FF5 #F5CD6F #97F56F
monochromatic
#380FDA #5C36F1 #8A6FF5 #B8A8F9 #E7E1FD

Accessibility & contrast

On white

3.70
#8A6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8A6FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF5#FFFFFF#000000##000000
##8A6FF51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FA
Deuteranopia (green-blind)
#2982F2
Tritanopia (blue-blind)
#6A8CA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ff5;
/* rgb */ color: rgb(138, 111, 245);
/* oklch */ color: oklch(63.3% 0.193 289.0);
Tailwind
colors: {
  custom: {
    50: '#b299f9',
    500: '#8a6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff5;
$custom-light: #b299f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff5",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 252.09,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63333,
    "c": 0.19252,
    "h": 289
  },
  "luminance": 0.23365
}

Semantic roles & 50–950 ramp

primary
#8A6FF5
secondary
#EBF3CD
accent
#E402B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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