#8A6EFB#8A6EFB

#8A6EFB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.6% C 0.201 H 288.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A6EFB
RGBrgb(138, 110, 251)
HSLhsl(252, 95%, 71%)
HSVhsv(252, 56%, 98%)
CMYKcmyk(45%, 56.2%, 0%, 1.6%)
CIE-LABlab(55.60, 44.43, -67.00)
CIE-LCHlch(55.60, 80.39, 303.55°)
OKLaboklab(63.57% 0.0638 -0.1911)
OKLCHoklch(63.57% 0.201 288.5)
XYZxyz(33.4648, 23.5189, 94.0244)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EFB #DFFB6E
analogous
#6E98FB #8A6EFB #D06EFB
triadic
#8A6EFB #FB8A6E #6EFB8A
tetradic
#8A6EFB #FB6E98 #DFFB6E #6EFBD0
square
#8A6EFB #FB6E98 #DFFB6E #6EFBD0
split-complementary
#8A6EFB #FBD06E #98FB6E
monochromatic
#3306E8 #5A32F9 #8A6EFB #BAAAFD #E7E1FE

Accessibility & contrast

On white

3.68
#8A6EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EFB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EFB#FFFFFF#000000##000000
##8A6EFB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1088FF
Deuteranopia (green-blind)
#1582F8
Tritanopia (blue-blind)
#678DAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6efb;
/* rgb */ color: rgb(138, 110, 251);
/* oklch */ color: oklch(63.6% 0.201 288.5);
Tailwind
colors: {
  custom: {
    50: '#b398fd',
    500: '#8a6efb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6efb;
$custom-light: #b398fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6efb",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 251.915,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63571,
    "c": 0.20147,
    "h": 288.5
  },
  "luminance": 0.2352
}

Semantic roles & 50–950 ramp

primary
#8A6EFB
secondary
#EEF5CF
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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