#8A6EF3#8A6EF3

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

Color values

HEX#8A6EF3
RGBrgb(138, 110, 243)
HSLhsl(253, 85%, 69%)
HSVhsv(253, 55%, 95%)
CMYKcmyk(43.2%, 54.7%, 0%, 4.7%)
CIE-LABlab(55.10, 42.21, -63.38)
CIE-LCHlch(55.10, 76.15, 303.66°)
OKLaboklab(63.04% 0.0637 -0.1804)
OKLCHoklch(63.04% 0.191 289.4)
XYZxyz(32.2303, 23.0251, 87.5227)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF3 #D7F36E
analogous
#6E95F3 #8A6EF3 #CD6EF3
triadic
#8A6EF3 #F38A6E #6EF38A
tetradic
#8A6EF3 #F36E95 #D7F36E #6EF3CD
square
#8A6EF3 #F36E95 #D7F36E #6EF3CD
split-complementary
#8A6EF3 #F3CD6E #95F36E
monochromatic
#3B12D5 #5C35EE #8A6EF3 #B8A7F8 #E5DFFC

Accessibility & contrast

On white

3.75
#8A6EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8A6EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF3#FFFFFF#000000##000000
##8A6EF31.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F7
Deuteranopia (green-blind)
#2A81F0
Tritanopia (blue-blind)
#6B8BA6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ef3;
/* rgb */ color: rgb(138, 110, 243);
/* oklch */ color: oklch(63.0% 0.191 289.4);
Tailwind
colors: {
  custom: {
    50: '#b298f8',
    500: '#8a6ef3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef3;
$custom-light: #b298f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef3",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 252.632,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63037,
    "c": 0.19136,
    "h": 289.4
  },
  "luminance": 0.23026
}

Semantic roles & 50–950 ramp

primary
#8A6EF3
secondary
#EAF2CB
accent
#E104B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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