#8A7BBB#8A7BBB

#8A7BBB is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.2% C 0.096 H 294.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A7BBB
RGBrgb(138, 123, 187)
HSLhsl(254, 32%, 61%)
HSVhsv(254, 34%, 73%)
CMYKcmyk(26.2%, 34.2%, 0%, 26.7%)
CIE-LABlab(55.23, 19.73, -31.56)
CIE-LCHlch(55.23, 37.22, 302.01°)
OKLaboklab(62.18% 0.0394 -0.0876)
OKLCHoklch(62.18% 0.096 294.2)
XYZxyz(26.5317, 23.1567, 50.0759)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BBB #ACBB7B
analogous
#7B8CBB #8A7BBB #AA7BBB
triadic
#8A7BBB #BB8A7B #7BBB8A
tetradic
#8A7BBB #BB7B8C #ACBB7B #7BBBAA
square
#8A7BBB #BB7B8C #ACBB7B #7BBBAA
split-complementary
#8A7BBB #BBAA7B #8CBB7B
monochromatic
#4E407C #6755A4 #8A7BBB #AEA3D0 #D2CCE5

Accessibility & contrast

On white

3.73
#8A7BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A7BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BBB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BBB#FFFFFF#000000##000000
##8A7BBB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#808692
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7bbb;
/* rgb */ color: rgb(138, 123, 187);
/* oklch */ color: oklch(62.2% 0.096 294.2);
Tailwind
colors: {
  custom: {
    50: '#ada1cf',
    500: '#8a7bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bbb;
$custom-light: #ada1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bbb",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 254.063,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.09607,
    "h": 294.2
  },
  "luminance": 0.23157
}

Semantic roles & 50–950 ramp

primary
#8A7BBB
secondary
#CFD5BD
accent
#AB3B90
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #8A7BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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