#8B7AC8#8B7AC8

#8B7AC8 is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.7% C 0.116 H 292.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8B7AC8
RGBrgb(139, 122, 200)
HSLhsl(253, 41%, 63%)
HSVhsv(253, 39%, 78%)
CMYKcmyk(30.5%, 39%, 0%, 21.6%)
CIE-LABlab(55.66, 23.92, -38.30)
CIE-LCHlch(55.66, 45.15, 301.99°)
OKLaboklab(62.72% 0.0449 -0.107)
OKLCHoklch(62.72% 0.116 292.8)
XYZxyz(28.0297, 23.5777, 57.7066)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7AC8 #B7C87A
analogous
#7A90C8 #8B7AC8 #B27AC8
triadic
#8B7AC8 #C88B7A #7AC88B
tetradic
#8B7AC8 #C87A90 #B7C87A #7AC8B2
square
#8B7AC8 #C87A90 #B7C87A #7AC8B2
split-complementary
#8B7AC8 #C8B27A #90C87A
monochromatic
#4C3A8D #654FB6 #8B7AC8 #B1A5DA #D7D1EC

Accessibility & contrast

On white

3.67
#8B7AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8B7AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7AC8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7AC8#FFFFFF#000000##000000
##8B7AC81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#6584C6
Tritanopia (blue-blind)
#7D8897
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b7ac8;
/* rgb */ color: rgb(139, 122, 200);
/* oklch */ color: oklch(62.7% 0.116 292.8);
Tailwind
colors: {
  custom: {
    50: '#afa0d9',
    500: '#8b7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8b7ac8;
$custom-light: #afa0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7ac8",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 253.077,
    "s": 41.489,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.11608,
    "h": 292.8
  },
  "luminance": 0.23578
}

Semantic roles & 50–950 ramp

primary
#8B7AC8
secondary
#D7DDC1
accent
#B53198
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8B7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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