#8370DD#8370DD

#8370DD is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.160 H 288.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8370DD
RGBrgb(131, 112, 221)
HSLhsl(250, 62%, 65%)
HSVhsv(250, 49%, 87%)
CMYKcmyk(40.7%, 49.3%, 0%, 13.3%)
CIE-LABlab(53.64, 33.34, -53.44)
CIE-LCHlch(53.64, 62.98, 301.96°)
OKLaboklab(61.38% 0.0516 -0.1514)
OKLCHoklch(61.38% 0.16 288.8)
XYZxyz(28.2018, 21.6332, 71.0823)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370DD #CADD70
analogous
#7093DD #8370DD #BA70DD
triadic
#8370DD #DD8370 #70DD83
tetradic
#8370DD #DD7093 #CADD70 #70DDBA
square
#8370DD #DD7093 #CADD70 #70DDBA
split-complementary
#8370DD #DDBA70 #93DD70
monochromatic
#3F28AA #583FD1 #8370DD #AEA1E9 #D9D3F5

Accessibility & contrast

On white

3.94
#8370DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8370DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370DD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370DD#FFFFFF#000000##000000
##8370DD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#447DDB
Tritanopia (blue-blind)
#6A869C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8370dd;
/* rgb */ color: rgb(131, 112, 221);
/* oklch */ color: oklch(61.4% 0.160 288.8);
Tailwind
colors: {
  custom: {
    50: '#ab99e8',
    500: '#8370dd',
    950: '#000000',
  },
}
SCSS
$custom: #8370dd;
$custom-light: #ab99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8370dd",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 250.459,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.15998,
    "h": 288.8
  },
  "luminance": 0.21634
}

Semantic roles & 50–950 ramp

primary
#8370DD
secondary
#E0E7C2
accent
#C91CAB
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8370DD

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

Preview Lab → · Contrast checker → · Palette generator →

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