#874BB9#874BB9

#874BB9 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.171 H 306.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#874BB9
RGBrgb(135, 75, 185)
HSLhsl(273, 44%, 51%)
HSVhsv(273, 59%, 73%)
CMYKcmyk(27%, 59.5%, 0%, 27.5%)
CIE-LABlab(43.78, 45.86, -48.52)
CIE-LCHlch(43.78, 66.76, 313.38°)
OKLaboklab(53.49% 0.1019 -0.1369)
OKLCHoklch(53.49% 0.171 306.7)
XYZxyz(21.2629, 13.6861, 47.4111)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BB9 #7DB94B
analogous
#504BB9 #874BB9 #B94BB4
triadic
#874BB9 #B9874B #4BB987
tetradic
#874BB9 #B9504B #7DB94B #4BB4B9
square
#874BB9 #B9504B #7DB94B #4BB4B9
split-complementary
#874BB9 #B4B94B #4BB950
monochromatic
#482763 #67388F #874BB9 #A477CA #C2A3DB

Accessibility & contrast

On white

5.62
#874BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#874BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BB9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BB9#FFFFFF#000000##FFFFFF
##874BB91.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BD
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#7F607B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #874bb9;
/* rgb */ color: rgb(135, 75, 185);
/* oklch */ color: oklch(53.5% 0.171 306.7);
Tailwind
colors: {
  custom: {
    50: '#ad80cf',
    500: '#874bb9',
    950: '#000000',
  },
}
SCSS
$custom: #874bb9;
$custom-light: #ad80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#874bb9",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 272.727,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53492,
    "c": 0.17067,
    "h": 306.7
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#874BB9
secondary
#AEC898
accent
#D4548E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #874BB9

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

Preview Lab → · Contrast checker → · Palette generator →

#874BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva