#8D70BC#8D70BC

#8D70BC is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.116 H 300.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D70BC
RGBrgb(141, 112, 188)
HSLhsl(263, 36%, 59%)
HSVhsv(263, 40%, 74%)
CMYKcmyk(25%, 40.4%, 0%, 26.3%)
CIE-LABlab(52.82, 27.33, -35.89)
CIE-LCHlch(52.82, 45.11, 307.29°)
OKLaboklab(60.42% 0.059 -0.1)
OKLCHoklch(60.42% 0.116 300.6)
XYZxyz(25.8537, 20.8818, 50.2357)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D70BC #9FBC70
analogous
#7079BC #8D70BC #B370BC
triadic
#8D70BC #BC8D70 #70BC8D
tetradic
#8D70BC #BC7079 #9FBC70 #70BCB3
square
#8D70BC #BC7079 #9FBC70 #70BCB3
split-complementary
#8D70BC #BCB370 #79BC70
monochromatic
#513979 #6D4CA3 #8D70BC #AE9AD0 #CFC3E3

Accessibility & contrast

On white

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

On black

5.18
#8D70BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D70BC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D70BC#FFFFFF#000000##000000
##8D70BC1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EBF
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#847D8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d70bc;
/* rgb */ color: rgb(141, 112, 188);
/* oklch */ color: oklch(60.4% 0.116 300.6);
Tailwind
colors: {
  custom: {
    50: '#b099d0',
    500: '#8d70bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d70bc;
$custom-light: #b099d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d70bc",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 262.895,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60421,
    "c": 0.11615,
    "h": 300.6
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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