#8374BE#8374BE

#8374BE is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.4% C 0.111 H 292.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8374BE
RGBrgb(131, 116, 190)
HSLhsl(252, 36%, 60%)
HSVhsv(252, 39%, 75%)
CMYKcmyk(31.1%, 38.9%, 0%, 25.5%)
CIE-LABlab(52.99, 22.57, -36.84)
CIE-LCHlch(52.99, 43.20, 301.49°)
OKLaboklab(60.36% 0.0417 -0.103)
OKLCHoklch(60.36% 0.111 292)
XYZxyz(24.8974, 21.0333, 51.4533)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374BE #AFBE74
analogous
#748ABE #8374BE #A874BE
triadic
#8374BE #BE8374 #74BE83
tetradic
#8374BE #BE748A #AFBE74 #74BEA8
square
#8374BE #BE748A #AFBE74 #74BEA8
split-complementary
#8374BE #BEA874 #8ABE74
monochromatic
#483A7D #604EA7 #8374BE #A89ED2 #CDC7E5

Accessibility & contrast

On white

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

On black

5.21
#8374BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374BE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374BE#FFFFFF#000000##000000
##8374BE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C1
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#758190
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8374be;
/* rgb */ color: rgb(131, 116, 190);
/* oklch */ color: oklch(60.4% 0.111 292.0);
Tailwind
colors: {
  custom: {
    50: '#a99cd2',
    500: '#8374be',
    950: '#000000',
  },
}
SCSS
$custom: #8374be;
$custom-light: #a99cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8374be",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 252.162,
    "s": 36.275,
    "l": 60
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.11112,
    "h": 292
  },
  "luminance": 0.21034
}

Semantic roles & 50–950 ramp

primary
#8374BE
secondary
#CFD5B9
accent
#CC5CB5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8374BE

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

Preview Lab → · Contrast checker → · Palette generator →

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