#8970BA#8970BA

#8970BA is a mid, moderate violet. Relative luminance 0.205; OKLCH L 59.9% C 0.113 H 298.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8970BA
RGBrgb(137, 112, 186)
HSLhsl(260, 35%, 58%)
HSVhsv(260, 40%, 73%)
CMYKcmyk(26.3%, 39.8%, 0%, 27.1%)
CIE-LABlab(52.34, 25.65, -35.51)
CIE-LCHlch(52.34, 43.81, 305.84°)
OKLaboklab(59.94% 0.0538 -0.099)
OKLCHoklch(59.94% 0.113 298.5)
XYZxyz(24.9716, 20.4517, 49.0768)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970BA #A1BA70
analogous
#707CBA #8970BA #AE70BA
triadic
#8970BA #BA8970 #70BA89
tetradic
#8970BA #BA707C #A1BA70 #70BAAE
square
#8970BA #BA707C #A1BA70 #70BAAE
split-complementary
#8970BA #BAAE70 #7CBA70
monochromatic
#4E3976 #694DA0 #8970BA #AB99CE #CDC3E2

Accessibility & contrast

On white

4.13
#8970BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8970BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970BA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970BA#FFFFFF#000000##000000
##8970BA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#7F7D8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8970ba;
/* rgb */ color: rgb(137, 112, 186);
/* oklch */ color: oklch(59.9% 0.113 298.5);
Tailwind
colors: {
  custom: {
    50: '#ad99cf',
    500: '#8970ba',
    950: '#000000',
  },
}
SCSS
$custom: #8970ba;
$custom-light: #ad99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8970ba",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 260.27,
    "s": 34.906,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.11267,
    "h": 298.5
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#8970BA
secondary
#C8D2B4
accent
#CB5DA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8970BA

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

Preview Lab → · Contrast checker → · Palette generator →

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