#874DA5#874DA5

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

Color values

HEX#874DA5
RGBrgb(135, 77, 165)
HSLhsl(280, 36%, 47%)
HSVhsv(280, 53%, 65%)
CMYKcmyk(18.2%, 53.3%, 0%, 35.3%)
CIE-LABlab(43.03, 40.15, -37.93)
CIE-LCHlch(43.03, 55.23, 316.62°)
OKLaboklab(52.57% 0.0984 -0.106)
OKLCHoklch(52.57% 0.145 312.9)
XYZxyz(19.4359, 13.1757, 37.1093)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DA5 #6BA54D
analogous
#5B4DA5 #874DA5 #A54D97
triadic
#874DA5 #A5874D #4DA587
tetradic
#874DA5 #A55B4D #6BA54D #4D97A5
square
#874DA5 #A55B4D #6BA54D #4D97A5
split-complementary
#874DA5 #97A54D #4DA55B
monochromatic
#432652 #653A7B #874DA5 #A472BD #BF9CD1

Accessibility & contrast

On white

5.78
#874DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #874DA5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874DA5#FFFFFF#000000##FFFFFF
##874DA51.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A8
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#845B72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #874da5;
/* rgb */ color: rgb(135, 77, 165);
/* oklch */ color: oklch(52.6% 0.145 312.9);
Tailwind
colors: {
  custom: {
    50: '#ac81c0',
    500: '#874da5',
    950: '#000000',
  },
}
SCSS
$custom: #874da5;
$custom-light: #ac81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#874da5",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 279.545,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.1446,
    "h": 312.9
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#874DA5
secondary
#A0BD90
accent
#CC5B82
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #874DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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