#8374BC#8374BC

#8374BC is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.3% C 0.108 H 292.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8374BC
RGBrgb(131, 116, 188)
HSLhsl(253, 35%, 60%)
HSVhsv(253, 38%, 74%)
CMYKcmyk(30.3%, 38.3%, 0%, 26.3%)
CIE-LABlab(52.89, 22.04, -35.84)
CIE-LCHlch(52.89, 42.08, 301.59°)
OKLaboklab(60.26% 0.0413 -0.1001)
OKLCHoklch(60.26% 0.108 292.4)
XYZxyz(24.6803, 20.9465, 50.3100)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374BC #ADBC74
analogous
#7489BC #8374BC #A774BC
triadic
#8374BC #BC8374 #74BC83
tetradic
#8374BC #BC7489 #ADBC74 #74BCA7
square
#8374BC #BC7489 #ADBC74 #74BCA7
split-complementary
#8374BC #BCA774 #89BC74
monochromatic
#483B7B #614FA4 #8374BC #A89DD0 #CDC7E4

Accessibility & contrast

On white

4.05
#8374BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8374BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374BC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374BC#FFFFFF#000000##000000
##8374BC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#76818F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8374bc;
/* rgb */ color: rgb(131, 116, 188);
/* oklch */ color: oklch(60.3% 0.108 292.4);
Tailwind
colors: {
  custom: {
    50: '#a99cd0',
    500: '#8374bc',
    950: '#000000',
  },
}
SCSS
$custom: #8374bc;
$custom-light: #a99cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8374bc",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 252.5,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60255,
    "c": 0.10829,
    "h": 292.4
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#8374BC
secondary
#CED4B8
accent
#CB5DB4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8374BC

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

Preview Lab → · Contrast checker → · Palette generator →

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