#8070C4#8070C4

#8070C4 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.7% C 0.126 H 290.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8070C4
RGBrgb(128, 112, 196)
HSLhsl(251, 42%, 60%)
HSVhsv(251, 43%, 77%)
CMYKcmyk(34.7%, 42.9%, 0%, 23.1%)
CIE-LABlab(52.02, 25.70, -41.82)
CIE-LCHlch(52.02, 49.08, 301.57°)
OKLaboklab(59.66% 0.0447 -0.1175)
OKLCHoklch(59.66% 0.126 290.8)
XYZxyz(24.6574, 20.1625, 54.8065)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070C4 #B4C470
analogous
#708AC4 #8070C4 #AA70C4
triadic
#8070C4 #C48070 #70C480
tetradic
#8070C4 #C4708A #B4C470 #70C4AA
square
#8070C4 #C4708A #B4C470 #70C4AA
split-complementary
#8070C4 #C4AA70 #8AC470
monochromatic
#453683 #5C48AF #8070C4 #A69BD6 #CDC7E8

Accessibility & contrast

On white

4.17
#8070C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8070C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070C4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070C4#FFFFFF#000000##000000
##8070C41.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC7
Deuteranopia (green-blind)
#567AC2
Tritanopia (blue-blind)
#6F8090
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8070c4;
/* rgb */ color: rgb(128, 112, 196);
/* oklch */ color: oklch(59.7% 0.126 290.8);
Tailwind
colors: {
  custom: {
    50: '#a799d6',
    500: '#8070c4',
    950: '#000000',
  },
}
SCSS
$custom: #8070c4;
$custom-light: #a799d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8070c4",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 196
  },
  "hsl": {
    "h": 251.429,
    "s": 41.584,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.12576,
    "h": 290.8
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#8070C4
secondary
#D2D8B8
accent
#B5319C
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8070C4

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

Preview Lab → · Contrast checker → · Palette generator →

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