#8A6EF5#8A6EF5

#8A6EF5 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.2% C 0.194 H 289.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF5
RGBrgb(138, 110, 245)
HSLhsl(252, 87%, 70%)
HSVhsv(252, 55%, 96%)
CMYKcmyk(43.7%, 55.1%, 0%, 3.9%)
CIE-LABlab(55.22, 42.76, -64.29)
CIE-LCHlch(55.22, 77.21, 303.63°)
OKLaboklab(63.17% 0.0637 -0.1831)
OKLCHoklch(63.17% 0.194 289.2)
XYZxyz(32.5339, 23.1465, 89.1220)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF5 #D9F56E
analogous
#6E96F5 #8A6EF5 #CD6EF5
triadic
#8A6EF5 #F58A6E #6EF58A
tetradic
#8A6EF5 #F56E96 #D9F56E #6EF5CD
square
#8A6EF5 #F56E96 #D9F56E #6EF5CD
split-complementary
#8A6EF5 #F5CD6E #96F56E
monochromatic
#390FDA #5C35F1 #8A6EF5 #B8A7F9 #E6E1FD

Accessibility & contrast

On white

3.73
#8A6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF5#FFFFFF#000000##000000
##8A6EF51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2287FA
Deuteranopia (green-blind)
#2681F2
Tritanopia (blue-blind)
#6A8BA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ef5;
/* rgb */ color: rgb(138, 110, 245);
/* oklch */ color: oklch(63.2% 0.194 289.2);
Tailwind
colors: {
  custom: {
    50: '#b298f9',
    500: '#8a6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef5;
$custom-light: #b298f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef5",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 252.444,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.1939,
    "h": 289.2
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#8A6EF5
secondary
#EBF3CC
accent
#E402B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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