#8370BF#8370BF

#8370BF is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.7% C 0.119 H 293.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8370BF
RGBrgb(131, 112, 191)
HSLhsl(254, 38%, 59%)
HSVhsv(254, 41%, 75%)
CMYKcmyk(31.4%, 41.4%, 0%, 25.1%)
CIE-LABlab(52.03, 25.20, -38.91)
CIE-LCHlch(52.03, 46.36, 302.93°)
OKLaboklab(59.65% 0.0475 -0.109)
OKLCHoklch(59.65% 0.119 293.5)
XYZxyz(24.5558, 20.1748, 51.8805)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370BF #ACBF70
analogous
#7085BF #8370BF #AA70BF
triadic
#8370BF #BF8370 #70BF83
tetradic
#8370BF #BF7085 #ACBF70 #70BFAA
square
#8370BF #BF7085 #ACBF70 #70BFAA
split-complementary
#8370BF #BFAA70 #85BF70
monochromatic
#48387D #614BA7 #8370BF #A89AD2 #CCC5E5

Accessibility & contrast

On white

4.17
#8370BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8370BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370BF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370BF#FFFFFF#000000##000000
##8370BF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#757E8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8370bf;
/* rgb */ color: rgb(131, 112, 191);
/* oklch */ color: oklch(59.7% 0.119 293.5);
Tailwind
colors: {
  custom: {
    50: '#a999d2',
    500: '#8370bf',
    950: '#000000',
  },
}
SCSS
$custom: #8370bf;
$custom-light: #a999d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8370bf",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 254.43,
    "s": 38.164,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.1189,
    "h": 293.5
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#8370BF
secondary
#CDD5B6
accent
#CE5AB2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8370BF

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

Preview Lab → · Contrast checker → · Palette generator →

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