#8A6CFB#8A6CFB

#8A6CFB is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.2% C 0.204 H 288.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A6CFB
RGBrgb(138, 108, 251)
HSLhsl(253, 95%, 70%)
HSVhsv(253, 57%, 98%)
CMYKcmyk(45%, 57%, 0%, 1.6%)
CIE-LABlab(55.17, 45.56, -67.70)
CIE-LCHlch(55.17, 81.60, 303.94°)
OKLaboklab(63.25% 0.066 -0.1932)
OKLCHoklch(63.25% 0.204 288.8)
XYZxyz(33.2514, 23.0922, 93.9533)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CFB #DDFB6C
analogous
#6C96FB #8A6CFB #D16CFB
triadic
#8A6CFB #FB8A6C #6CFB8A
tetradic
#8A6CFB #FB6C96 #DDFB6C #6CFBD1
square
#8A6CFB #FB6C96 #DDFB6C #6CFBD1
split-complementary
#8A6CFB #FBD16C #96FB6C
monochromatic
#3506E6 #5B30F9 #8A6CFB #B9A8FD #E7E1FE

Accessibility & contrast

On white

3.74
#8A6CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A6CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CFB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CFB#FFFFFF#000000##000000
##8A6CFB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0881F8
Tritanopia (blue-blind)
#678CA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6cfb;
/* rgb */ color: rgb(138, 108, 251);
/* oklch */ color: oklch(63.2% 0.204 288.8);
Tailwind
colors: {
  custom: {
    50: '#b397fd',
    500: '#8a6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cfb;
$custom-light: #b397fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cfb",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 252.587,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6325,
    "c": 0.20413,
    "h": 288.8
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#8A6CFB
secondary
#EDF5CE
accent
#E600B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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