#8370BC#8370BC

#8370BC is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.5% C 0.115 H 294.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8370BC
RGBrgb(131, 112, 188)
HSLhsl(255, 36%, 59%)
HSVhsv(255, 40%, 74%)
CMYKcmyk(30.3%, 40.4%, 0%, 26.3%)
CIE-LABlab(51.89, 24.42, -37.42)
CIE-LCHlch(51.89, 44.68, 303.12°)
OKLaboklab(59.49% 0.0469 -0.1047)
OKLCHoklch(59.49% 0.115 294.1)
XYZxyz(24.2291, 20.0441, 50.1596)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370BC #A9BC70
analogous
#7083BC #8370BC #A970BC
triadic
#8370BC #BC8370 #70BC83
tetradic
#8370BC #BC7083 #A9BC70 #70BCA9
square
#8370BC #BC7083 #A9BC70 #70BCA9
split-complementary
#8370BC #BCA970 #83BC70
monochromatic
#493979 #624CA3 #8370BC #A79AD0 #CBC3E3

Accessibility & contrast

On white

4.19
#8370BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8370BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370BC#FFFFFF#000000##000000
##8370BC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBF
Deuteranopia (green-blind)
#5C7BBA
Tritanopia (blue-blind)
#767E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8370bc;
/* rgb */ color: rgb(131, 112, 188);
/* oklch */ color: oklch(59.5% 0.115 294.1);
Tailwind
colors: {
  custom: {
    50: '#a999d0',
    500: '#8370bc',
    950: '#000000',
  },
}
SCSS
$custom: #8370bc;
$custom-light: #a999d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8370bc",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 255,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.1147,
    "h": 294.1
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#8370BC
secondary
#CBD3B5
accent
#CC5CB0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8370BC

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

Preview Lab → · Contrast checker → · Palette generator →

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