#8A7BBA#8A7BBA

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

Color values

HEX#8A7BBA
RGBrgb(138, 123, 186)
HSLhsl(254, 31%, 61%)
HSVhsv(254, 34%, 73%)
CMYKcmyk(25.8%, 33.9%, 0%, 27.1%)
CIE-LABlab(55.19, 19.48, -31.06)
CIE-LCHlch(55.19, 36.66, 302.10°)
OKLaboklab(62.13% 0.0391 -0.0862)
OKLCHoklch(62.13% 0.095 294.4)
XYZxyz(26.4250, 23.1140, 49.5141)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BBA #ABBA7B
analogous
#7B8BBA #8A7BBA #A97BBA
triadic
#8A7BBA #BA8A7B #7BBA8A
tetradic
#8A7BBA #BA7B8B #ABBA7B #7BBAA9
square
#8A7BBA #BA7B8B #ABBA7B #7BBAA9
split-complementary
#8A7BBA #BAA97B #8BBA7B
monochromatic
#4E407B #6855A3 #8A7BBA #AEA3CF #D1CBE4

Accessibility & contrast

On white

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

On black

5.62
#8A7BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BBA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BBA#FFFFFF#000000##000000
##8A7BBA1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7bba;
/* rgb */ color: rgb(138, 123, 186);
/* oklch */ color: oklch(62.1% 0.095 294.4);
Tailwind
colors: {
  custom: {
    50: '#ada1cf',
    500: '#8a7bba',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bba;
$custom-light: #ada1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bba",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 186
  },
  "hsl": {
    "h": 254.286,
    "s": 31.343,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.09464,
    "h": 294.4
  },
  "luminance": 0.23114
}

Semantic roles & 50–950 ramp

primary
#8A7BBA
secondary
#CFD4BC
accent
#AA3B90
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #8A7BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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