#8970B3#8970B3

#8970B3 is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.6% C 0.103 H 300.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8970B3
RGBrgb(137, 112, 179)
HSLhsl(262, 31%, 57%)
HSVhsv(262, 37%, 70%)
CMYKcmyk(23.5%, 37.4%, 0%, 29.8%)
CIE-LABlab(52.02, 23.92, -31.98)
CIE-LCHlch(52.02, 39.93, 306.79°)
OKLaboklab(59.59% 0.0523 -0.0888)
OKLCHoklch(59.59% 0.103 300.5)
XYZxyz(24.2456, 20.1613, 45.2533)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970B3 #9AB370
analogous
#7079B3 #8970B3 #AB70B3
triadic
#8970B3 #B38970 #70B389
tetradic
#8970B3 #B37079 #9AB370 #70B3AB
square
#8970B3 #B37079 #9AB370 #70B3AB
split-complementary
#8970B3 #B3AB70 #79B370
monochromatic
#4E3B6E #6A5096 #8970B3 #AA98C8 #CBC0DD

Accessibility & contrast

On white

4.17
#8970B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8970B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970B3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970B3#FFFFFF#000000##000000
##8970B31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB6
Deuteranopia (green-blind)
#647CB1
Tritanopia (blue-blind)
#817B89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8970b3;
/* rgb */ color: rgb(137, 112, 179);
/* oklch */ color: oklch(59.6% 0.103 300.5);
Tailwind
colors: {
  custom: {
    50: '#ac99ca',
    500: '#8970b3',
    950: '#000000',
  },
}
SCSS
$custom: #8970b3;
$custom-light: #ac99ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8970b3",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 179
  },
  "hsl": {
    "h": 262.388,
    "s": 30.594,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.10306,
    "h": 300.5
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#8970B3
secondary
#C3CDB2
accent
#C761A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8970B3

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

Preview Lab → · Contrast checker → · Palette generator →

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