#8070AF#8070AF

#8070AF is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.6% C 0.096 H 294.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8070AF
RGBrgb(128, 112, 175)
HSLhsl(255, 28%, 56%)
HSVhsv(255, 36%, 69%)
CMYKcmyk(26.9%, 36%, 0%, 31.4%)
CIE-LABlab(51.00, 20.18, -31.31)
CIE-LCHlch(51.00, 37.25, 302.80°)
OKLaboklab(58.55% 0.0405 -0.0871)
OKLCHoklch(58.55% 0.096 294.9)
XYZxyz(22.4323, 19.2724, 43.0872)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070AF #9FAF70
analogous
#7080AF #8070AF #A070AF
triadic
#8070AF #AF8070 #70AF80
tetradic
#8070AF #AF7080 #9FAF70 #70AFA0
square
#8070AF #AF7080 #9FAF70 #70AFA0
split-complementary
#8070AF #AFA070 #80AF70
monochromatic
#473B6A #615191 #8070AF #A397C5 #C6BEDB

Accessibility & contrast

On white

4.33
#8070AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8070AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070AF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070AF#FFFFFF#000000##000000
##8070AF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB1
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#767B87
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8070af;
/* rgb */ color: rgb(128, 112, 175);
/* oklch */ color: oklch(58.6% 0.096 294.9);
Tailwind
colors: {
  custom: {
    50: '#a699c7',
    500: '#8070af',
    950: '#000000',
  },
}
SCSS
$custom: #8070af;
$custom-light: #a699c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8070af",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 255.238,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.09602,
    "h": 294.9
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

primary
#8070AF
secondary
#C4CAB0
accent
#C563AC
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #8070AF

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

Preview Lab → · Contrast checker → · Palette generator →

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