#8B74BA#8B74BA

#8B74BA is a mid, moderate violet. Relative luminance 0.215; OKLCH L 60.9% C 0.106 H 298.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8B74BA
RGBrgb(139, 116, 186)
HSLhsl(260, 34%, 59%)
HSVhsv(260, 38%, 73%)
CMYKcmyk(25.3%, 37.6%, 0%, 27.1%)
CIE-LABlab(53.52, 23.90, -33.66)
CIE-LCHlch(53.52, 41.28, 305.37°)
OKLaboklab(60.88% 0.0504 -0.0936)
OKLCHoklch(60.88% 0.106 298.3)
XYZxyz(25.7537, 21.5247, 49.2427)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B74BA #A3BA74
analogous
#7480BA #8B74BA #AE74BA
triadic
#8B74BA #BA8B74 #74BA8B
tetradic
#8B74BA #BA7480 #A3BA74 #74BAAE
square
#8B74BA #BA7480 #A3BA74 #74BAAE
split-complementary
#8B74BA #BAAE74 #80BA74
monochromatic
#4F3C78 #6B50A1 #8B74BA #AD9DCE #CFC6E3

Accessibility & contrast

On white

3.96
#8B74BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8B74BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B74BA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B74BA#FFFFFF#000000##000000
##8B74BA1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BD
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#82808E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b74ba;
/* rgb */ color: rgb(139, 116, 186);
/* oklch */ color: oklch(60.9% 0.106 298.3);
Tailwind
colors: {
  custom: {
    50: '#ae9ccf',
    500: '#8b74ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b74ba;
$custom-light: #ae9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b74ba",
  "rgb": {
    "r": 139,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 259.714,
    "s": 33.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.10635,
    "h": 298.3
  },
  "luminance": 0.21525
}

Semantic roles & 50–950 ramp

primary
#8B74BA
secondary
#CAD3B7
accent
#CA5EA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8B74BA

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

Preview Lab → · Contrast checker → · Palette generator →

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