#8071CB#8071CB

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

Color values

HEX#8071CB
RGBrgb(128, 113, 203)
HSLhsl(250, 46%, 62%)
HSVhsv(250, 44%, 80%)
CMYKcmyk(36.9%, 44.3%, 0%, 20.4%)
CIE-LABlab(52.63, 27.01, -44.85)
CIE-LCHlch(52.63, 52.35, 301.06°)
OKLaboklab(60.24% 0.0445 -0.1264)
OKLCHoklch(60.24% 0.134 289.4)
XYZxyz(25.5838, 20.7105, 59.1379)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071CB #BCCB71
analogous
#718FCB #8071CB #AD71CB
triadic
#8071CB #CB8071 #71CB80
tetradic
#8071CB #CB718F #BCCB71 #71CBAD
square
#8071CB #CB718F #BCCB71 #71CBAD
split-complementary
#8071CB #CBAD71 #8FCB71
monochromatic
#43348E #5844BB #8071CB #A89EDB #D0CBEC

Accessibility & contrast

On white

4.08
#8071CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8071CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071CB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071CB#FFFFFF#000000##000000
##8071CB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCE
Deuteranopia (green-blind)
#527CC9
Tritanopia (blue-blind)
#6D8294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8071cb;
/* rgb */ color: rgb(128, 113, 203);
/* oklch */ color: oklch(60.2% 0.134 289.4);
Tailwind
colors: {
  custom: {
    50: '#a89adb',
    500: '#8071cb',
    950: '#000000',
  },
}
SCSS
$custom: #8071cb;
$custom-light: #a89adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8071cb",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 250,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.13399,
    "h": 289.4
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#8071CB
secondary
#D7DCBB
accent
#BA2CA2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071CB

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

Preview Lab → · Contrast checker → · Palette generator →

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