#8A7BBD#8A7BBD

#8A7BBD is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.3% C 0.099 H 293.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A7BBD
RGBrgb(138, 123, 189)
HSLhsl(254, 33%, 61%)
HSVhsv(254, 35%, 74%)
CMYKcmyk(27%, 34.9%, 0%, 25.9%)
CIE-LABlab(55.32, 20.23, -32.57)
CIE-LCHlch(55.32, 38.34, 301.85°)
OKLaboklab(62.27% 0.0399 -0.0905)
OKLCHoklch(62.27% 0.099 293.8)
XYZxyz(26.7473, 23.2429, 51.2114)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BBD #AEBD7B
analogous
#7B8DBD #8A7BBD #AB7BBD
triadic
#8A7BBD #BD8A7B #7BBD8A
tetradic
#8A7BBD #BD7B8D #AEBD7B #7BBDAB
square
#8A7BBD #BD7B8D #AEBD7B #7BBDAB
split-complementary
#8A7BBD #BDAB7B #8DBD7B
monochromatic
#4E3F7E #6754A7 #8A7BBD #AEA4D1 #D2CDE6

Accessibility & contrast

On white

3.72
#8A7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BBD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BBD#FFFFFF#000000##000000
##8A7BBD1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85C0
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#7F8693
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7bbd;
/* rgb */ color: rgb(138, 123, 189);
/* oklch */ color: oklch(62.3% 0.099 293.8);
Tailwind
colors: {
  custom: {
    50: '#ada1d1',
    500: '#8a7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bbd;
$custom-light: #ada1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bbd",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 253.636,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.09892,
    "h": 293.8
  },
  "luminance": 0.23243
}

Semantic roles & 50–950 ramp

primary
#8A7BBD
secondary
#D1D6BE
accent
#AC3992
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #8A7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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