#8370DC#8370DC

#8370DC is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.3% C 0.159 H 288.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8370DC
RGBrgb(131, 112, 220)
HSLhsl(251, 61%, 65%)
HSVhsv(251, 49%, 86%)
CMYKcmyk(40.5%, 49.1%, 0%, 13.7%)
CIE-LABlab(53.58, 33.06, -52.97)
CIE-LCHlch(53.58, 62.43, 301.97°)
OKLaboklab(61.32% 0.0515 -0.1501)
OKLCHoklch(61.32% 0.159 288.9)
XYZxyz(28.0689, 21.5800, 70.3827)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370DC #C9DC70
analogous
#7093DC #8370DC #B970DC
triadic
#8370DC #DC8370 #70DC83
tetradic
#8370DC #DC7093 #C9DC70 #70DCB9
square
#8370DC #DC7093 #C9DC70 #70DCB9
split-complementary
#8370DC #DCB970 #93DC70
monochromatic
#4029A8 #583FD0 #8370DC #AEA1E8 #D8D2F4

Accessibility & contrast

On white

3.95
#8370DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8370DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370DC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370DC#FFFFFF#000000##000000
##8370DC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#457DDA
Tritanopia (blue-blind)
#6A869C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8370dc;
/* rgb */ color: rgb(131, 112, 220);
/* oklch */ color: oklch(61.3% 0.159 288.9);
Tailwind
colors: {
  custom: {
    50: '#ab99e7',
    500: '#8370dc',
    950: '#000000',
  },
}
SCSS
$custom: #8370dc;
$custom-light: #ab99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8370dc",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 250.556,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61317,
    "c": 0.15864,
    "h": 288.9
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#8370DC
secondary
#E0E6C2
accent
#C81DAA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8370DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8370DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva