#8A6FF2#8A6FF2

#8A6FF2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.1% C 0.189 H 289.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF2
RGBrgb(138, 111, 242)
HSLhsl(252, 83%, 69%)
HSVhsv(252, 54%, 95%)
CMYKcmyk(43%, 54.1%, 0%, 5.1%)
CIE-LABlab(55.26, 41.36, -62.56)
CIE-LCHlch(55.26, 75.00, 303.47°)
OKLaboklab(63.14% 0.0625 -0.1781)
OKLCHoklch(63.14% 0.189 289.3)
XYZxyz(32.1882, 23.1818, 86.7658)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF2 #D7F26F
analogous
#6F96F2 #8A6FF2 #CB6FF2
triadic
#8A6FF2 #F28A6F #6FF28A
tetradic
#8A6FF2 #F26F96 #D7F26F #6FF2CB
square
#8A6FF2 #F26F96 #D7F26F #6FF2CB
split-complementary
#8A6FF2 #F2CB6F #96F26F
monochromatic
#3B13D4 #5C37ED #8A6FF2 #B8A7F7 #E5DFFC

Accessibility & contrast

On white

3.73
#8A6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A6FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF2#FFFFFF#000000##000000
##8A6FF21.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F6
Deuteranopia (green-blind)
#2E81EF
Tritanopia (blue-blind)
#6B8BA6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ff2;
/* rgb */ color: rgb(138, 111, 242);
/* oklch */ color: oklch(63.1% 0.189 289.3);
Tailwind
colors: {
  custom: {
    50: '#b299f7',
    500: '#8a6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff2;
$custom-light: #b299f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff2",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 252.366,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63136,
    "c": 0.1887,
    "h": 289.3
  },
  "luminance": 0.23183
}

Semantic roles & 50–950 ramp

primary
#8A6FF2
secondary
#EAF1CB
accent
#E006B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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