#8D70BB#8D70BB

#8D70BB is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.4% C 0.115 H 300.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8D70BB
RGBrgb(141, 112, 187)
HSLhsl(263, 36%, 59%)
HSVhsv(263, 40%, 73%)
CMYKcmyk(24.6%, 40.1%, 0%, 26.7%)
CIE-LABlab(52.77, 27.08, -35.39)
CIE-LCHlch(52.77, 44.56, 307.43°)
OKLaboklab(60.37% 0.0588 -0.0986)
OKLCHoklch(60.37% 0.115 300.8)
XYZxyz(25.7463, 20.8388, 49.6700)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D70BB #9EBB70
analogous
#7078BB #8D70BB #B270BB
triadic
#8D70BB #BB8D70 #70BB8D
tetradic
#8D70BB #BB7078 #9EBB70 #70BBB2
square
#8D70BB #BB7078 #9EBB70 #70BBB2
split-complementary
#8D70BB #BBB270 #78BB70
monochromatic
#513978 #6D4DA1 #8D70BB #AE99CF #CFC3E2

Accessibility & contrast

On white

4.06
#8D70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8D70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D70BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D70BB#FFFFFF#000000##000000
##8D70BB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#857C8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d70bb;
/* rgb */ color: rgb(141, 112, 187);
/* oklch */ color: oklch(60.4% 0.115 300.8);
Tailwind
colors: {
  custom: {
    50: '#b099d0',
    500: '#8d70bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d70bb;
$custom-light: #b099d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d70bb",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 263.2,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.1148,
    "h": 300.8
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#8D70BB
secondary
#C7D2B5
accent
#CC5CA1
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8D70BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8D70BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva