#8A7CBD#8A7CBD

#8A7CBD is a light, moderate violet. Relative luminance 0.235; OKLCH L 62.5% C 0.097 H 293.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A7CBD
RGBrgb(138, 124, 189)
HSLhsl(253, 33%, 61%)
HSVhsv(253, 34%, 74%)
CMYKcmyk(27%, 34.4%, 0%, 25.9%)
CIE-LABlab(55.58, 19.65, -32.17)
CIE-LCHlch(55.58, 37.70, 301.41°)
OKLaboklab(62.47% 0.0384 -0.0894)
OKLCHoklch(62.47% 0.097 293.3)
XYZxyz(26.8720, 23.4923, 51.2530)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CBD #AFBD7C
analogous
#7C8FBD #8A7CBD #AB7CBD
triadic
#8A7CBD #BD8A7C #7CBD8A
tetradic
#8A7CBD #BD7C8F #AFBD7C #7CBDAB
square
#8A7CBD #BD7C8F #AFBD7C #7CBDAB
split-complementary
#8A7CBD #BDAB7C #8FBD7C
monochromatic
#4D407F #6654A7 #8A7CBD #AEA5D2 #D3CDE6

Accessibility & contrast

On white

3.69
#8A7CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A7CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CBD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CBD#FFFFFF#000000##000000
##8A7CBD1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#6C84BB
Tritanopia (blue-blind)
#7F8794
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7cbd;
/* rgb */ color: rgb(138, 124, 189);
/* oklch */ color: oklch(62.5% 0.097 293.3);
Tailwind
colors: {
  custom: {
    50: '#ada2d1',
    500: '#8a7cbd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cbd;
$custom-light: #ada2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cbd",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 189
  },
  "hsl": {
    "h": 252.923,
    "s": 32.995,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.0973,
    "h": 293.3
  },
  "luminance": 0.23493
}

Semantic roles & 50–950 ramp

primary
#8A7CBD
secondary
#D1D7BE
accent
#AC3A93
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #8A7CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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