#8970BF#8970BF

#8970BF is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.2% C 0.120 H 297.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8970BF
RGBrgb(137, 112, 191)
HSLhsl(259, 38%, 59%)
HSVhsv(259, 41%, 75%)
CMYKcmyk(28.3%, 41.4%, 0%, 25.1%)
CIE-LABlab(52.58, 26.91, -38.01)
CIE-LCHlch(52.58, 46.57, 305.30°)
OKLaboklab(60.2% 0.0547 -0.1062)
OKLCHoklch(60.2% 0.12 297.3)
XYZxyz(25.5124, 20.6680, 51.9253)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970BF #A6BF70
analogous
#707FBF #8970BF #B070BF
triadic
#8970BF #BF8970 #70BF89
tetradic
#8970BF #BF707F #A6BF70 #70BFB0
square
#8970BF #BF707F #A6BF70 #70BFB0
split-complementary
#8970BF #BFB070 #7FBF70
monochromatic
#4E387D #684BA7 #8970BF #AC9AD2 #CFC5E5

Accessibility & contrast

On white

4.09
#8970BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8970BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970BF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970BF#FFFFFF#000000##000000
##8970BF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#5E7DBD
Tritanopia (blue-blind)
#7E7E8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8970bf;
/* rgb */ color: rgb(137, 112, 191);
/* oklch */ color: oklch(60.2% 0.120 297.3);
Tailwind
colors: {
  custom: {
    50: '#ad99d2',
    500: '#8970bf',
    950: '#000000',
  },
}
SCSS
$custom: #8970bf;
$custom-light: #ad99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8970bf",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 258.987,
    "s": 38.164,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.11952,
    "h": 297.3
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#8970BF
secondary
#CBD5B6
accent
#CE5AA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8970BF

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

Preview Lab → · Contrast checker → · Palette generator →

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