#874BB0#874BB0

#874BB0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.160 H 309.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#874BB0
RGBrgb(135, 75, 176)
HSLhsl(276, 40%, 49%)
HSVhsv(276, 57%, 69%)
CMYKcmyk(23.3%, 57.4%, 0%, 31%)
CIE-LABlab(43.24, 43.75, -44.10)
CIE-LCHlch(43.24, 62.12, 314.77°)
OKLaboklab(52.92% 0.1018 -0.124)
OKLCHoklch(52.92% 0.16 309.4)
XYZxyz(20.3427, 13.3180, 42.5649)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BB0 #74B04B
analogous
#554BB0 #874BB0 #B04BA7
triadic
#874BB0 #B0874B #4BB087
tetradic
#874BB0 #B0554B #74B04B #4BA7B0
square
#874BB0 #B0554B #74B04B #4BA7B0
split-complementary
#874BB0 #A7B04B #4BB055
monochromatic
#45265A #663985 #874BB0 #A474C4 #C09FD6

Accessibility & contrast

On white

5.73
#874BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#874BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BB0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BB0#FFFFFF#000000##FFFFFF
##874BB01.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B3
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#815D76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #874bb0;
/* rgb */ color: rgb(135, 75, 176);
/* oklch */ color: oklch(52.9% 0.160 309.4);
Tailwind
colors: {
  custom: {
    50: '#ad80c8',
    500: '#874bb0',
    950: '#000000',
  },
}
SCSS
$custom: #874bb0;
$custom-light: #ad80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#874bb0",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 275.644,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.1604,
    "h": 309.4
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#874BB0
secondary
#A7C394
accent
#D05889
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #874BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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