#8A7CBB#8A7CBB

#8A7CBB is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.4% C 0.094 H 293.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A7CBB
RGBrgb(138, 124, 187)
HSLhsl(253, 32%, 61%)
HSVhsv(253, 34%, 73%)
CMYKcmyk(26.2%, 33.7%, 0%, 26.7%)
CIE-LABlab(55.49, 19.14, -31.17)
CIE-LCHlch(55.49, 36.58, 301.56°)
OKLaboklab(62.37% 0.0379 -0.0865)
OKLCHoklch(62.37% 0.094 293.7)
XYZxyz(26.6564, 23.4061, 50.1175)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CBB #ADBB7C
analogous
#7C8DBB #8A7CBB #A97CBB
triadic
#8A7CBB #BB8A7C #7CBB8A
tetradic
#8A7CBB #BB7C8D #ADBB7C #7CBBA9
square
#8A7CBB #BB7C8D #ADBB7C #7CBBA9
split-complementary
#8A7CBB #BBA97C #8DBB7C
monochromatic
#4E407C #6755A4 #8A7CBB #AEA4D0 #D2CDE5

Accessibility & contrast

On white

3.70
#8A7CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A7CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CBB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CBB#FFFFFF#000000##000000
##8A7CBB1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#6D84B9
Tritanopia (blue-blind)
#808793
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7cbb;
/* rgb */ color: rgb(138, 124, 187);
/* oklch */ color: oklch(62.4% 0.094 293.7);
Tailwind
colors: {
  custom: {
    50: '#ada2cf',
    500: '#8a7cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cbb;
$custom-light: #ada2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cbb",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 253.333,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62372,
    "c": 0.09445,
    "h": 293.7
  },
  "luminance": 0.23406
}

Semantic roles & 50–950 ramp

primary
#8A7CBB
secondary
#D0D5BE
accent
#AA3B92
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #8A7CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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