#8A6BFA#8A6BFA

#8A6BFA is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.0% C 0.204 H 289.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A6BFA
RGBrgb(138, 107, 250)
HSLhsl(253, 93%, 70%)
HSVhsv(253, 57%, 98%)
CMYKcmyk(44.8%, 57.2%, 0%, 2%)
CIE-LABlab(54.89, 45.84, -67.60)
CIE-LCHlch(54.89, 81.68, 304.14°)
OKLaboklab(63.02% 0.0671 -0.1929)
OKLCHoklch(63.02% 0.204 289.2)
XYZxyz(32.9894, 22.8196, 93.0904)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BFA #DBFA6B
analogous
#6B94FA #8A6BFA #D16BFA
triadic
#8A6BFA #FA8A6B #6BFA8A
tetradic
#8A6BFA #FA6B94 #DBFA6B #6BFAD1
square
#8A6BFA #FA6B94 #DBFA6B #6BFAD1
split-complementary
#8A6BFA #FAD16B #94FA6B
monochromatic
#3708E3 #5B30F8 #8A6BFA #B9A6FC #E8E1FE

Accessibility & contrast

On white

3.77
#8A6BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A6BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BFA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BFA#FFFFFF#000000##000000
##8A6BFA1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0680F7
Tritanopia (blue-blind)
#678BA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6bfa;
/* rgb */ color: rgb(138, 107, 250);
/* oklch */ color: oklch(63.0% 0.204 289.2);
Tailwind
colors: {
  custom: {
    50: '#b396fd',
    500: '#8a6bfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bfa;
$custom-light: #b396fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bfa",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 253.007,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.63022,
    "c": 0.20421,
    "h": 289.2
  },
  "luminance": 0.22821
}

Semantic roles & 50–950 ramp

primary
#8A6BFA
secondary
#ECF4CC
accent
#E600B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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