#8A6EBF#8A6EBF

#8A6EBF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.9% C 0.123 H 298.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A6EBF
RGBrgb(138, 110, 191)
HSLhsl(261, 39%, 59%)
HSVhsv(261, 42%, 75%)
CMYKcmyk(27.7%, 42.4%, 0%, 25.1%)
CIE-LABlab(52.19, 28.37, -38.62)
CIE-LCHlch(52.19, 47.92, 306.30°)
OKLaboklab(59.93% 0.0588 -0.108)
OKLCHoklch(59.93% 0.123 298.6)
XYZxyz(25.4589, 20.3165, 51.8603)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EBF #A3BF6E
analogous
#6E7BBF #8A6EBF #B36EBF
triadic
#8A6EBF #BF8A6E #6EBF8A
tetradic
#8A6EBF #BF6E7B #A3BF6E #6EBFB3
square
#8A6EBF #BF6E7B #A3BF6E #6EBFB3
split-complementary
#8A6EBF #BFB36E #7BBF6E
monochromatic
#4F377C #6A49A6 #8A6EBF #AC98D2 #CFC3E4

Accessibility & contrast

On white

4.15
#8A6EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A6EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EBF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EBF#FFFFFF#000000##000000
##8A6EBF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577DC2
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#7F7C8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6ebf;
/* rgb */ color: rgb(138, 110, 191);
/* oklch */ color: oklch(59.9% 0.123 298.6);
Tailwind
colors: {
  custom: {
    50: '#ae98d2',
    500: '#8a6ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ebf;
$custom-light: #ae98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ebf",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 260.741,
    "s": 38.756,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.12296,
    "h": 298.6
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#8A6EBF
secondary
#C9D4B5
accent
#CF59A6
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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