#8070BC#8070BC

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

Color values

HEX#8070BC
RGBrgb(128, 112, 188)
HSLhsl(253, 36%, 59%)
HSVhsv(253, 40%, 74%)
CMYKcmyk(31.9%, 40.4%, 0%, 26.3%)
CIE-LABlab(51.62, 23.56, -37.86)
CIE-LCHlch(51.62, 44.59, 301.89°)
OKLaboklab(59.22% 0.0433 -0.106)
OKLCHoklch(59.22% 0.115 292.2)
XYZxyz(23.7710, 19.8079, 50.1381)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070BC #ACBC70
analogous
#7086BC #8070BC #A670BC
triadic
#8070BC #BC8070 #70BC80
tetradic
#8070BC #BC7086 #ACBC70 #70BCA6
square
#8070BC #BC7086 #ACBC70 #70BCA6
split-complementary
#8070BC #BCA670 #86BC70
monochromatic
#463979 #5E4CA3 #8070BC #A59AD0 #CAC3E3

Accessibility & contrast

On white

4.23
#8070BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8070BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070BC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070BC#FFFFFF#000000##000000
##8070BC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#727E8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8070bc;
/* rgb */ color: rgb(128, 112, 188);
/* oklch */ color: oklch(59.2% 0.115 292.2);
Tailwind
colors: {
  custom: {
    50: '#a799d0',
    500: '#8070bc',
    950: '#000000',
  },
}
SCSS
$custom: #8070bc;
$custom-light: #a799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8070bc",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 252.632,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.11451,
    "h": 292.2
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8070BC

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

Preview Lab → · Contrast checker → · Palette generator →

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