#8A6BFB#8A6BFB

#8A6BFB is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.1% C 0.205 H 289.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A6BFB
RGBrgb(138, 107, 251)
HSLhsl(253, 95%, 70%)
HSVhsv(253, 57%, 98%)
CMYKcmyk(45%, 57.4%, 0%, 1.6%)
CIE-LABlab(54.95, 46.12, -68.05)
CIE-LCHlch(54.95, 82.21, 304.12°)
OKLaboklab(63.09% 0.067 -0.1942)
OKLCHoklch(63.09% 0.205 289)
XYZxyz(33.1466, 22.8824, 93.9184)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BFB #DCFB6B
analogous
#6B94FB #8A6BFB #D26BFB
triadic
#8A6BFB #FB8A6B #6BFB8A
tetradic
#8A6BFB #FB6B94 #DCFB6B #6BFBD2
square
#8A6BFB #FB6B94 #DCFB6B #6BFBD2
split-complementary
#8A6BFB #FBD26B #94FB6B
monochromatic
#3606E5 #5B2FF9 #8A6BFB #B9A7FD #E7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6BFB#FFFFFF#000000##000000
##8A6BFB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#678BA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6bfb;
/* rgb */ color: rgb(138, 107, 251);
/* oklch */ color: oklch(63.1% 0.205 289.0);
Tailwind
colors: {
  custom: {
    50: '#b396fd',
    500: '#8a6bfb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bfb;
$custom-light: #b396fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bfb",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 252.917,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63091,
    "c": 0.20546,
    "h": 289
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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