#8A6EDF#8A6EDF

#8A6EDF is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.8% C 0.166 H 292.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A6EDF
RGBrgb(138, 110, 223)
HSLhsl(255, 64%, 65%)
HSVhsv(255, 51%, 87%)
CMYKcmyk(38.1%, 50.7%, 0%, 12.5%)
CIE-LABlab(53.90, 36.74, -54.10)
CIE-LCHlch(53.90, 65.40, 304.18°)
OKLaboklab(61.76% 0.0628 -0.1532)
OKLCHoklch(61.76% 0.166 292.3)
XYZxyz(29.3729, 21.8821, 72.4738)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EDF #C3DF6E
analogous
#6E8BDF #8A6EDF #C26EDF
triadic
#8A6EDF #DF8A6E #6EDF8A
tetradic
#8A6EDF #DF6E8B #C3DF6E #6EDFC2
square
#8A6EDF #DF6E8B #C3DF6E #6EDFC2
split-complementary
#8A6EDF #DFC26E #8BDF6E
monochromatic
#4726AD #623CD4 #8A6EDF #B2A0EA #DBD2F5

Accessibility & contrast

On white

3.91
#8A6EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A6EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EDF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EDF#FFFFFF#000000##000000
##8A6EDF1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#457FDC
Tritanopia (blue-blind)
#74859C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6edf;
/* rgb */ color: rgb(138, 110, 223);
/* oklch */ color: oklch(61.8% 0.166 292.3);
Tailwind
colors: {
  custom: {
    50: '#b098e9',
    500: '#8a6edf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6edf;
$custom-light: #b098e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6edf",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 223
  },
  "hsl": {
    "h": 254.867,
    "s": 63.842,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.16557,
    "h": 292.3
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#8A6EDF
secondary
#DEE7C1
accent
#CC1AA0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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