#8974BB#8974BB

#8974BB is a mid, moderate violet. Relative luminance 0.214; OKLCH L 60.7% C 0.107 H 296.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8974BB
RGBrgb(137, 116, 187)
HSLhsl(258, 34%, 59%)
HSVhsv(258, 38%, 73%)
CMYKcmyk(26.7%, 38%, 0%, 26.7%)
CIE-LABlab(53.38, 23.55, -34.46)
CIE-LCHlch(53.38, 41.74, 304.35°)
OKLaboklab(60.74% 0.0483 -0.096)
OKLCHoklch(60.74% 0.107 296.7)
XYZxyz(25.5294, 21.3968, 49.7891)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974BB #A6BB74
analogous
#7483BB #8974BB #AD74BB
triadic
#8974BB #BB8974 #74BB89
tetradic
#8974BB #BB7483 #A6BB74 #74BBAD
square
#8974BB #BB7483 #A6BB74 #74BBAD
split-complementary
#8974BB #BBAD74 #83BB74
monochromatic
#4E3B79 #684FA2 #8974BB #AC9DCF #CFC6E3

Accessibility & contrast

On white

3.98
#8974BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8974BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974BB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974BB#FFFFFF#000000##000000
##8974BB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#7F808F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8974bb;
/* rgb */ color: rgb(137, 116, 187);
/* oklch */ color: oklch(60.7% 0.107 296.7);
Tailwind
colors: {
  custom: {
    50: '#ad9ccf',
    500: '#8974bb',
    950: '#000000',
  },
}
SCSS
$custom: #8974bb;
$custom-light: #ad9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8974bb",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 257.746,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.10743,
    "h": 296.7
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#8974BB
secondary
#CBD3B8
accent
#CA5DAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8974BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8974BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva