#874CA9#874CA9

#874CA9 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.151 H 311.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#874CA9
RGBrgb(135, 76, 169)
HSLhsl(278, 38%, 48%)
HSVhsv(278, 55%, 66%)
CMYKcmyk(20.1%, 55%, 0%, 33.7%)
CIE-LABlab(43.04, 41.60, -40.28)
CIE-LCHlch(43.04, 57.91, 315.92°)
OKLaboklab(52.65% 0.1001 -0.1128)
OKLCHoklch(52.65% 0.151 311.6)
XYZxyz(19.7363, 13.1848, 39.0337)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874CA9 #6EA94C
analogous
#594CA9 #874CA9 #A94C9C
triadic
#874CA9 #A9874C #4CA987
tetradic
#874CA9 #A9594C #6EA94C #4C9CA9
square
#874CA9 #A9594C #6EA94C #4C9CA9
split-complementary
#874CA9 #9CA94C #4CA959
monochromatic
#442655 #65397F #874CA9 #A372C0 #BF9DD3

Accessibility & contrast

On white

5.77
#874CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#874CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874CA9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874CA9#FFFFFF#000000##FFFFFF
##874CA91.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#835C73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #874ca9;
/* rgb */ color: rgb(135, 76, 169);
/* oklch */ color: oklch(52.6% 0.151 311.6);
Tailwind
colors: {
  custom: {
    50: '#ac80c3',
    500: '#874ca9',
    950: '#000000',
  },
}
SCSS
$custom: #874ca9;
$custom-light: #ac80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#874ca9",
  "rgb": {
    "r": 135,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 278.065,
    "s": 37.959,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.15082,
    "h": 311.6
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#874CA9
secondary
#A2BF91
accent
#CE5A84
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #874CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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