#8B70BD#8B70BD

#8B70BD is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.3% C 0.117 H 299.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B70BD
RGBrgb(139, 112, 189)
HSLhsl(261, 37%, 59%)
HSVhsv(261, 41%, 74%)
CMYKcmyk(26.5%, 40.7%, 0%, 25.9%)
CIE-LABlab(52.68, 26.99, -36.70)
CIE-LCHlch(52.68, 45.56, 306.33°)
OKLaboklab(60.28% 0.0568 -0.1024)
OKLCHoklch(60.28% 0.117 299)
XYZxyz(25.6248, 20.7513, 50.7896)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B70BD #A2BD70
analogous
#707CBD #8B70BD #B270BD
triadic
#8B70BD #BD8B70 #70BD8B
tetradic
#8B70BD #BD707C #A2BD70 #70BDB2
square
#8B70BD #BD707C #A2BD70 #70BDB2
split-complementary
#8B70BD #BDB270 #7CBD70
monochromatic
#4F387A #6B4CA4 #8B70BD #AD9AD0 #CFC4E4

Accessibility & contrast

On white

4.08
#8B70BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B70BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B70BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B70BD#FFFFFF#000000##000000
##8B70BD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC0
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#817D8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b70bd;
/* rgb */ color: rgb(139, 112, 189);
/* oklch */ color: oklch(60.3% 0.117 299.0);
Tailwind
colors: {
  custom: {
    50: '#ae99d1',
    500: '#8b70bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b70bd;
$custom-light: #ae99d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b70bd",
  "rgb": {
    "r": 139,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 261.039,
    "s": 36.842,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.11712,
    "h": 299
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#8B70BD
secondary
#C9D4B5
accent
#CD5BA5
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8B70BD

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

Preview Lab → · Contrast checker → · Palette generator →

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