#8A6EF1#8A6EF1

#8A6EF1 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.189 H 289.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF1
RGBrgb(138, 110, 241)
HSLhsl(253, 82%, 69%)
HSVhsv(253, 54%, 95%)
CMYKcmyk(42.7%, 54.4%, 0%, 5.5%)
CIE-LABlab(54.97, 41.66, -62.46)
CIE-LCHlch(54.97, 75.08, 303.70°)
OKLaboklab(62.91% 0.0636 -0.1778)
OKLCHoklch(62.91% 0.189 289.7)
XYZxyz(31.9299, 22.9049, 85.9408)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF1 #D5F16E
analogous
#6E94F1 #8A6EF1 #CB6EF1
triadic
#8A6EF1 #F18A6E #6EF18A
tetradic
#8A6EF1 #F16E94 #D5F16E #6EF1CB
square
#8A6EF1 #F16E94 #D5F16E #6EF1CB
split-complementary
#8A6EF1 #F1CB6E #94F16E
monochromatic
#3C14D0 #5D36EC #8A6EF1 #B7A6F6 #E4DEFC

Accessibility & contrast

On white

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

On black

5.58
#8A6EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF1#FFFFFF#000000##000000
##8A6EF11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F5
Deuteranopia (green-blind)
#2E81EE
Tritanopia (blue-blind)
#6C8AA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ef1;
/* rgb */ color: rgb(138, 110, 241);
/* oklch */ color: oklch(62.9% 0.189 289.7);
Tailwind
colors: {
  custom: {
    50: '#b298f6',
    500: '#8a6ef1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef1;
$custom-light: #b298f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef1",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 252.824,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62905,
    "c": 0.18881,
    "h": 289.7
  },
  "luminance": 0.22906
}

Semantic roles & 50–950 ramp

primary
#8A6EF1
secondary
#E8F1CA
accent
#DF07B1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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