#8374CD#8374CD

#8374CD is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.2% C 0.132 H 289.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8374CD
RGBrgb(131, 116, 205)
HSLhsl(250, 47%, 63%)
HSVhsv(250, 43%, 80%)
CMYKcmyk(36.1%, 43.4%, 0%, 19.6%)
CIE-LABlab(53.73, 26.57, -44.23)
CIE-LCHlch(53.73, 51.60, 301.00°)
OKLaboklab(61.17% 0.0444 -0.1245)
OKLCHoklch(61.17% 0.132 289.6)
XYZxyz(26.6220, 21.7231, 60.5361)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374CD #BECD74
analogous
#7491CD #8374CD #AF74CD
triadic
#8374CD #CD8374 #74CD83
tetradic
#8374CD #CD7491 #BECD74 #74CDAF
square
#8374CD #CD7491 #BECD74 #74CDAF
split-complementary
#8374CD #CDAF74 #91CD74
monochromatic
#443592 #5B47BD #8374CD #ABA1DD #D3CEED

Accessibility & contrast

On white

3.93
#8374CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8374CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374CD#FFFFFF#000000##000000
##8374CD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#708597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8374cd;
/* rgb */ color: rgb(131, 116, 205);
/* oklch */ color: oklch(61.2% 0.132 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa9cdd',
    500: '#8374cd',
    950: '#000000',
  },
}
SCSS
$custom: #8374cd;
$custom-light: #aa9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8374cd",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 250.112,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.13218,
    "h": 289.6
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#8374CD
secondary
#D9DEBE
accent
#BA2BA2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8374CD

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

Preview Lab → · Contrast checker → · Palette generator →

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