#8071CA#8071CA

#8071CA is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.2% C 0.133 H 289.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8071CA
RGBrgb(128, 113, 202)
HSLhsl(250, 46%, 62%)
HSVhsv(250, 44%, 79%)
CMYKcmyk(36.6%, 44.1%, 0%, 20.8%)
CIE-LABlab(52.58, 26.74, -44.36)
CIE-LCHlch(52.58, 51.80, 301.08°)
OKLaboklab(60.18% 0.0444 -0.125)
OKLCHoklch(60.18% 0.133 289.5)
XYZxyz(25.4650, 20.6630, 58.5123)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071CA #BBCA71
analogous
#718FCA #8071CA #AD71CA
triadic
#8071CA #CA8071 #71CA80
tetradic
#8071CA #CA718F #BBCA71 #71CAAD
square
#8071CA #CA718F #BBCA71 #71CAAD
split-complementary
#8071CA #CAAD71 #8FCA71
monochromatic
#43348C #5945B9 #8071CA #A89EDB #D0CAEB

Accessibility & contrast

On white

4.09
#8071CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8071CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071CA#FFFFFF#000000##000000
##8071CA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCD
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#6D8294
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8071ca;
/* rgb */ color: rgb(128, 113, 202);
/* oklch */ color: oklch(60.2% 0.133 289.5);
Tailwind
colors: {
  custom: {
    50: '#a89ada',
    500: '#8071ca',
    950: '#000000',
  },
}
SCSS
$custom: #8071ca;
$custom-light: #a89ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8071ca",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 250.112,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.1326,
    "h": 289.5
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#8071CA
secondary
#D6DCBB
accent
#B92DA1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8071CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva