#8A6EF4#8A6EF4

#8A6EF4 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.193 H 289.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF4
RGBrgb(138, 110, 244)
HSLhsl(253, 86%, 69%)
HSVhsv(253, 55%, 96%)
CMYKcmyk(43.4%, 54.9%, 0%, 4.3%)
CIE-LABlab(55.16, 42.49, -63.83)
CIE-LCHlch(55.16, 76.68, 303.65°)
OKLaboklab(63.1% 0.0637 -0.1818)
OKLCHoklch(63.1% 0.193 289.3)
XYZxyz(32.3817, 23.0856, 88.3202)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF4 #D8F46E
analogous
#6E95F4 #8A6EF4 #CD6EF4
triadic
#8A6EF4 #F48A6E #6EF48A
tetradic
#8A6EF4 #F46E95 #D8F46E #6EF4CD
square
#8A6EF4 #F46E95 #D8F46E #6EF4CD
split-complementary
#8A6EF4 #F4CD6E #95F46E
monochromatic
#3A10D7 #5C35F0 #8A6EF4 #B8A7F8 #E6E0FD

Accessibility & contrast

On white

3.74
#8A6EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A6EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF4#FFFFFF#000000##000000
##8A6EF41.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2487F9
Deuteranopia (green-blind)
#2881F1
Tritanopia (blue-blind)
#6A8BA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ef4;
/* rgb */ color: rgb(138, 110, 244);
/* oklch */ color: oklch(63.1% 0.193 289.3);
Tailwind
colors: {
  custom: {
    50: '#b298f8',
    500: '#8a6ef4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef4;
$custom-light: #b298f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef4",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 252.537,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63103,
    "c": 0.19263,
    "h": 289.3
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#8A6EF4
secondary
#EAF2CC
accent
#E203B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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