#8370DB#8370DB

#8370DB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.3% C 0.157 H 289.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8370DB
RGBrgb(131, 112, 219)
HSLhsl(251, 60%, 65%)
HSVhsv(251, 49%, 86%)
CMYKcmyk(40.2%, 48.9%, 0%, 14.1%)
CIE-LABlab(53.52, 32.78, -52.49)
CIE-LCHlch(53.52, 61.89, 301.98°)
OKLaboklab(61.26% 0.0514 -0.1487)
OKLCHoklch(61.26% 0.157 289.1)
XYZxyz(27.9369, 21.5272, 69.6873)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370DB #C8DB70
analogous
#7093DB #8370DB #B870DB
triadic
#8370DB #DB8370 #70DB83
tetradic
#8370DB #DB7093 #C8DB70 #70DBB8
square
#8370DB #DB7093 #C8DB70 #70DBB8
split-complementary
#8370DB #DBB870 #93DB70
monochromatic
#402AA7 #593FCF #8370DB #ADA1E7 #D8D2F4

Accessibility & contrast

On white

3.96
#8370DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8370DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370DB#FFFFFF#000000##000000
##8370DB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#6B869B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8370db;
/* rgb */ color: rgb(131, 112, 219);
/* oklch */ color: oklch(61.3% 0.157 289.1);
Tailwind
colors: {
  custom: {
    50: '#ab99e7',
    500: '#8370db',
    950: '#000000',
  },
}
SCSS
$custom: #8370db;
$custom-light: #ab99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8370db",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 250.654,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61256,
    "c": 0.15729,
    "h": 289.1
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#8370DB
secondary
#DFE6C1
accent
#C71EA9
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8370DB

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

Preview Lab → · Contrast checker → · Palette generator →

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