#8374BF#8374BF

#8374BF is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.4% C 0.113 H 291.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8374BF
RGBrgb(131, 116, 191)
HSLhsl(252, 37%, 60%)
HSVhsv(252, 39%, 75%)
CMYKcmyk(31.4%, 39.3%, 0%, 25.1%)
CIE-LABlab(53.03, 22.83, -37.34)
CIE-LCHlch(53.03, 43.76, 301.44°)
OKLaboklab(60.41% 0.0419 -0.1044)
OKLCHoklch(60.41% 0.113 291.9)
XYZxyz(25.0070, 21.0772, 52.0309)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374BF #B0BF74
analogous
#748ABF #8374BF #A874BF
triadic
#8374BF #BF8374 #74BF83
tetradic
#8374BF #BF748A #B0BF74 #74BFA8
square
#8374BF #BF748A #B0BF74 #74BFA8
split-complementary
#8374BF #BFA874 #8ABF74
monochromatic
#483A7E #604DA8 #8374BF #A89ED2 #CEC8E6

Accessibility & contrast

On white

4.03
#8374BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8374BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374BF#FFFFFF#000000##000000
##8374BF1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#758290
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8374bf;
/* rgb */ color: rgb(131, 116, 191);
/* oklch */ color: oklch(60.4% 0.113 291.9);
Tailwind
colors: {
  custom: {
    50: '#a99cd2',
    500: '#8374bf',
    950: '#000000',
  },
}
SCSS
$custom: #8374bf;
$custom-light: #a99cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8374bf",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 252,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.11253,
    "h": 291.9
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#8374BF
secondary
#D0D6B9
accent
#B03697
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8374BF

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

Preview Lab → · Contrast checker → · Palette generator →

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