#8970BC#8970BC

#8970BC is a mid, moderate violet. Relative luminance 0.205; OKLCH L 60.0% C 0.115 H 298.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8970BC
RGBrgb(137, 112, 188)
HSLhsl(260, 36%, 59%)
HSVhsv(260, 40%, 74%)
CMYKcmyk(27.1%, 40.4%, 0%, 26.3%)
CIE-LABlab(52.44, 26.15, -36.51)
CIE-LCHlch(52.44, 44.91, 305.61°)
OKLaboklab(60.04% 0.0542 -0.1019)
OKLCHoklch(60.04% 0.115 298)
XYZxyz(25.1857, 20.5373, 50.2044)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970BC #A3BC70
analogous
#707DBC #8970BC #AF70BC
triadic
#8970BC #BC8970 #70BC89
tetradic
#8970BC #BC707D #A3BC70 #70BCAF
square
#8970BC #BC707D #A3BC70 #70BCAF
split-complementary
#8970BC #BCAF70 #7DBC70
monochromatic
#4E3979 #694CA3 #8970BC #AB9AD0 #CEC3E3

Accessibility & contrast

On white

4.11
#8970BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8970BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970BC#FFFFFF#000000##000000
##8970BC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#7F7D8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8970bc;
/* rgb */ color: rgb(137, 112, 188);
/* oklch */ color: oklch(60.0% 0.115 298.0);
Tailwind
colors: {
  custom: {
    50: '#ad99d0',
    500: '#8970bc',
    950: '#000000',
  },
}
SCSS
$custom: #8970bc;
$custom-light: #ad99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8970bc",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 259.737,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.11541,
    "h": 298
  },
  "luminance": 0.20538
}

Semantic roles & 50–950 ramp

primary
#8970BC
secondary
#C9D3B5
accent
#CC5CA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8970BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8970BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva