#8A7BB9#8A7BB9

#8A7BB9 is a light, moderate violet. Relative luminance 0.231; OKLCH L 62.1% C 0.093 H 294.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A7BB9
RGBrgb(138, 123, 185)
HSLhsl(255, 31%, 60%)
HSVhsv(255, 34%, 73%)
CMYKcmyk(25.4%, 33.5%, 0%, 27.5%)
CIE-LABlab(55.15, 19.23, -30.55)
CIE-LCHlch(55.15, 36.10, 302.19°)
OKLaboklab(62.08% 0.0389 -0.0847)
OKLCHoklch(62.08% 0.093 294.6)
XYZxyz(26.3191, 23.0717, 48.9562)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BB9 #AAB97B
analogous
#7B8BB9 #8A7BB9 #A97BB9
triadic
#8A7BB9 #B98A7B #7BB98A
tetradic
#8A7BB9 #B97B8B #AAB97B #7BB9A9
square
#8A7BB9 #B97B8B #AAB97B #7BB9A9
split-complementary
#8A7BB9 #B9A97B #8BB97B
monochromatic
#4E4079 #6856A1 #8A7BB9 #ADA3CE #D1CBE3

Accessibility & contrast

On white

3.74
#8A7BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8A7BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BB9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BB9#FFFFFF#000000##000000
##8A7BB91.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BB
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#808592
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7bb9;
/* rgb */ color: rgb(138, 123, 185);
/* oklch */ color: oklch(62.1% 0.093 294.6);
Tailwind
colors: {
  custom: {
    50: '#ada1ce',
    500: '#8a7bb9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bb9;
$custom-light: #ada1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bb9",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 185
  },
  "hsl": {
    "h": 254.516,
    "s": 30.693,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.09322,
    "h": 294.6
  },
  "luminance": 0.23072
}

Semantic roles & 50–950 ramp

primary
#8A7BB9
secondary
#CED4BC
accent
#A93C8F
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #8A7BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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