#8070BB#8070BB

#8070BB is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.2% C 0.113 H 292.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8070BB
RGBrgb(128, 112, 187)
HSLhsl(253, 36%, 59%)
HSVhsv(253, 40%, 73%)
CMYKcmyk(31.6%, 40.1%, 0%, 26.7%)
CIE-LABlab(51.57, 23.29, -37.36)
CIE-LCHlch(51.57, 44.03, 301.95°)
OKLaboklab(59.17% 0.0431 -0.1046)
OKLCHoklch(59.17% 0.113 292.4)
XYZxyz(23.6636, 19.7649, 49.5723)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070BB #ABBB70
analogous
#7085BB #8070BB #A570BB
triadic
#8070BB #BB8070 #70BB80
tetradic
#8070BB #BB7085 #ABBB70 #70BBA5
square
#8070BB #BB7085 #ABBB70 #70BBA5
split-complementary
#8070BB #BBA570 #85BB70
monochromatic
#463978 #5F4DA1 #8070BB #A599CF #CAC3E2

Accessibility & contrast

On white

4.24
#8070BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8070BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070BB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070BB#FFFFFF#000000##000000
##8070BB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#5B7AB9
Tritanopia (blue-blind)
#727E8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8070bb;
/* rgb */ color: rgb(128, 112, 187);
/* oklch */ color: oklch(59.2% 0.113 292.4);
Tailwind
colors: {
  custom: {
    50: '#a799d0',
    500: '#8070bb',
    950: '#000000',
  },
}
SCSS
$custom: #8070bb;
$custom-light: #a799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8070bb",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 252.8,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.1131,
    "h": 292.4
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#8070BB
secondary
#CCD2B5
accent
#CC5CB4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8070BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8070BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva