#8A7EBC#8A7EBC

#8A7EBC is a light, moderate violet. Relative luminance 0.240; OKLCH L 62.8% C 0.093 H 292.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A7EBC
RGBrgb(138, 126, 188)
HSLhsl(252, 32%, 62%)
HSVhsv(252, 33%, 74%)
CMYKcmyk(26.6%, 33%, 0%, 26.3%)
CIE-LABlab(56.04, 18.22, -30.87)
CIE-LCHlch(56.04, 35.85, 300.55°)
OKLaboklab(62.81% 0.0353 -0.0857)
OKLCHoklch(62.81% 0.093 292.4)
XYZxyz(27.0170, 23.9554, 50.7677)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EBC #B0BC7E
analogous
#7E91BC #8A7EBC #A97EBC
triadic
#8A7EBC #BC8A7E #7EBC8A
tetradic
#8A7EBC #BC7E91 #B0BC7E #7EBCA9
square
#8A7EBC #BC7E91 #B0BC7E #7EBCA9
split-complementary
#8A7EBC #BCA97E #91BC7E
monochromatic
#4D417E #6656A6 #8A7EBC #AFA6D1 #D3CFE6

Accessibility & contrast

On white

3.63
#8A7EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A7EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EBC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EBC#FFFFFF#000000##000000
##8A7EBC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BF
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#7F8994
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a7ebc;
/* rgb */ color: rgb(138, 126, 188);
/* oklch */ color: oklch(62.8% 0.093 292.4);
Tailwind
colors: {
  custom: {
    50: '#ada3d0',
    500: '#8a7ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ebc;
$custom-light: #ada3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ebc",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 188
  },
  "hsl": {
    "h": 251.613,
    "s": 31.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62812,
    "c": 0.09265,
    "h": 292.4
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#8A7EBC
secondary
#D2D6BF
accent
#AA3B95
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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