#9D70B2#9D70B2

#9D70B2 is a mid, moderate purple. Relative luminance 0.220; OKLCH L 61.5% C 0.109 H 314.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9D70B2
RGBrgb(157, 112, 178)
HSLhsl(281, 30%, 57%)
HSVhsv(281, 37%, 70%)
CMYKcmyk(11.8%, 37.1%, 0%, 30.2%)
CIE-LABlab(54.00, 29.92, -28.17)
CIE-LCHlch(54.00, 41.10, 316.73°)
OKLaboklab(61.54% 0.0764 -0.0775)
OKLCHoklch(61.54% 0.109 314.6)
XYZxyz(27.7334, 21.9714, 44.8908)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D70B2 #85B270
analogous
#7C70B2 #9D70B2 #B270A6
triadic
#9D70B2 #B29D70 #70B29D
tetradic
#9D70B2 #B27C70 #85B270 #70A6B2
square
#9D70B2 #B27C70 #85B270 #70A6B2
split-complementary
#9D70B2 #A6B270 #70B27C
monochromatic
#5D3B6D #7F5095 #9D70B2 #B898C7 #D4C0DD

Accessibility & contrast

On white

3.89
#9D70B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9D70B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D70B2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D70B2#FFFFFF#000000##000000
##9D70B21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB5
Deuteranopia (green-blind)
#7082B0
Tritanopia (blue-blind)
#9C7989
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d70b2;
/* rgb */ color: rgb(157, 112, 178);
/* oklch */ color: oklch(61.5% 0.109 314.6);
Tailwind
colors: {
  custom: {
    50: '#bb9ac9',
    500: '#9d70b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d70b2;
$custom-light: #bb9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d70b2",
  "rgb": {
    "r": 157,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 280.909,
    "s": 30,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61541,
    "c": 0.10879,
    "h": 314.6
  },
  "luminance": 0.21971
}

Semantic roles & 50–950 ramp

primary
#9D70B2
secondary
#BACCB1
accent
#C66282
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#120E13
muted
#817E82

Preview Lab

Preview with #9D70B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9D70B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva