#8A7EBF#8A7EBF

#8A7EBF is a light, moderate violet. Relative luminance 0.241; OKLCH L 63.0% C 0.097 H 291.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A7EBF
RGBrgb(138, 126, 191)
HSLhsl(251, 34%, 62%)
HSVhsv(251, 34%, 75%)
CMYKcmyk(27.7%, 34%, 0%, 25.1%)
CIE-LABlab(56.17, 18.98, -32.38)
CIE-LCHlch(56.17, 37.53, 300.37°)
OKLaboklab(62.96% 0.0361 -0.09)
OKLCHoklch(62.96% 0.097 291.8)
XYZxyz(27.3437, 24.0861, 52.4886)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EBF #B3BF7E
analogous
#7E93BF #8A7EBF #AB7EBF
triadic
#8A7EBF #BF8A7E #7EBF8A
tetradic
#8A7EBF #BF7E93 #B3BF7E #7EBFAB
square
#8A7EBF #BF7E93 #B3BF7E #7EBFAB
split-complementary
#8A7EBF #BFAB7E #93BF7E
monochromatic
#4D4182 #6555AB #8A7EBF #AFA7D3 #D4D0E8

Accessibility & contrast

On white

3.61
#8A7EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A7EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EBF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EBF#FFFFFF#000000##000000
##8A7EBF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#7E8996
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7ebf;
/* rgb */ color: rgb(138, 126, 191);
/* oklch */ color: oklch(63.0% 0.097 291.8);
Tailwind
colors: {
  custom: {
    50: '#ada3d2',
    500: '#8a7ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ebf;
$custom-light: #ada3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ebf",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 251.077,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62955,
    "c": 0.09696,
    "h": 291.8
  },
  "luminance": 0.24087
}

Semantic roles & 50–950 ramp

primary
#8A7EBF
secondary
#D4D8C0
accent
#AC3997
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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