#8A6BED#8A6BED

#8A6BED is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.2% C 0.188 H 290.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A6BED
RGBrgb(138, 107, 237)
HSLhsl(254, 78%, 67%)
HSVhsv(254, 55%, 93%)
CMYKcmyk(41.8%, 54.9%, 0%, 7.1%)
CIE-LABlab(54.06, 42.26, -61.70)
CIE-LCHlch(54.06, 74.79, 304.41°)
OKLaboklab(62.15% 0.067 -0.1755)
OKLCHoklch(62.15% 0.188 290.9)
XYZxyz(31.0208, 22.0321, 82.7225)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BED #CEED6B
analogous
#6B8DED #8A6BED #CB6BED
triadic
#8A6BED #ED8A6B #6BED8A
tetradic
#8A6BED #ED6B8D #CEED6B #6BEDCB
square
#8A6BED #ED6B8D #CEED6B #6BEDCB
split-complementary
#8A6BED #EDCB6B #8DED6B
monochromatic
#4118C6 #5F34E6 #8A6BED #B5A2F4 #E0D8FA

Accessibility & contrast

On white

3.88
#8A6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BED
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BED#FFFFFF#000000##000000
##8A6BED1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F1
Deuteranopia (green-blind)
#2E7EEA
Tritanopia (blue-blind)
#6E87A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6bed;
/* rgb */ color: rgb(138, 107, 237);
/* oklch */ color: oklch(62.2% 0.188 290.9);
Tailwind
colors: {
  custom: {
    50: '#b296f4',
    500: '#8a6bed',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bed;
$custom-light: #b296f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bed",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 254.308,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6215,
    "c": 0.18789,
    "h": 290.9
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#8A6BED
secondary
#E5EEC6
accent
#DB0BA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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