#9C70BA#9C70BA

#9C70BA is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.8% C 0.118 H 310.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9C70BA
RGBrgb(156, 112, 186)
HSLhsl(276, 35%, 58%)
HSVhsv(276, 40%, 73%)
CMYKcmyk(16.1%, 39.8%, 0%, 27.1%)
CIE-LABlab(54.24, 31.37, -32.41)
CIE-LCHlch(54.24, 45.11, 314.07°)
OKLaboklab(61.82% 0.0769 -0.0896)
OKLCHoklch(61.82% 0.118 310.6)
XYZxyz(28.3658, 22.2019, 49.2359)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C70BA #8EBA70
analogous
#7770BA #9C70BA #BA70B3
triadic
#9C70BA #BA9C70 #70BA9C
tetradic
#9C70BA #BA7770 #8EBA70 #70B3BA
square
#9C70BA #BA7770 #8EBA70 #70B3BA
split-complementary
#9C70BA #B3BA70 #70BA77
monochromatic
#5E3976 #7E4DA0 #9C70BA #B999CE #D5C3E2

Accessibility & contrast

On white

3.86
#9C70BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9C70BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C70BA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C70BA#FFFFFF#000000##000000
##9C70BA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BD
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#997B8C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9c70ba;
/* rgb */ color: rgb(156, 112, 186);
/* oklch */ color: oklch(61.8% 0.118 310.6);
Tailwind
colors: {
  custom: {
    50: '#ba9acf',
    500: '#9c70ba',
    950: '#000000',
  },
}
SCSS
$custom: #9c70ba;
$custom-light: #ba9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c70ba",
  "rgb": {
    "r": 156,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 275.676,
    "s": 34.906,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.11812,
    "h": 310.6
  },
  "luminance": 0.22201
}

Semantic roles & 50–950 ramp

primary
#9C70BA
secondary
#C0D2B4
accent
#CB5D89
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9C70BA

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

Preview Lab → · Contrast checker → · Palette generator →

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