#8A6DFF#8A6DFF

#8A6DFF is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 63.7% C 0.208 H 288.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A6DFF
RGBrgb(138, 109, 255)
HSLhsl(252, 100%, 71%)
HSVhsv(252, 57%, 100%)
CMYKcmyk(45.9%, 57.3%, 0%, 0%)
CIE-LABlab(55.64, 46.11, -69.15)
CIE-LCHlch(55.64, 83.11, 303.70°)
OKLaboklab(63.68% 0.0648 -0.1974)
OKLCHoklch(63.68% 0.208 288.2)
XYZxyz(33.9947, 23.5592, 97.3445)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DFF #E2FF6D
analogous
#6D99FF #8A6DFF #D36DFF
triadic
#8A6DFF #FF8A6D #6DFF8A
tetradic
#8A6DFF #FF6D99 #E2FF6D #6DFFD3
square
#8A6DFF #FF6D99 #E2FF6D #6DFFD3
split-complementary
#8A6DFF #FFD36D #99FF6D
monochromatic
#3000F2 #5930FF #8A6DFF #BBAAFF #E6E0FF

Accessibility & contrast

On white

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

On black

5.71
#8A6DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DFF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DFF#FFFFFF#000000##000000
##8A6DFF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#0082FC
Tritanopia (blue-blind)
#648EAC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6dff;
/* rgb */ color: rgb(138, 109, 255);
/* oklch */ color: oklch(63.7% 0.208 288.2);
Tailwind
colors: {
  custom: {
    50: '#b398ff',
    500: '#8a6dff',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dff;
$custom-light: #b398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dff",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 251.918,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.20779,
    "h": 288.2
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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