#874BAD#874BAD

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

Color values

HEX#874BAD
RGBrgb(135, 75, 173)
HSLhsl(277, 40%, 49%)
HSVhsv(277, 57%, 68%)
CMYKcmyk(22%, 56.6%, 0%, 32.2%)
CIE-LABlab(43.06, 43.05, -42.61)
CIE-LCHlch(43.06, 60.57, 315.30°)
OKLaboklab(52.74% 0.1017 -0.1196)
OKLCHoklch(52.74% 0.157 310.4)
XYZxyz(20.0492, 13.2006, 41.0188)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BAD #71AD4B
analogous
#564BAD #874BAD #AD4BA2
triadic
#874BAD #AD874B #4BAD87
tetradic
#874BAD #AD564B #71AD4B #4BA2AD
square
#874BAD #AD564B #71AD4B #4BA2AD
split-complementary
#874BAD #A2AD4B #4BAD56
monochromatic
#442658 #663882 #874BAD #A473C2 #BF9ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##874BAD#FFFFFF#000000##FFFFFF
##874BAD1.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)
#2C63B0
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#825C75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #874bad;
/* rgb */ color: rgb(135, 75, 173);
/* oklch */ color: oklch(52.7% 0.157 310.4);
Tailwind
colors: {
  custom: {
    50: '#ad80c6',
    500: '#874bad',
    950: '#000000',
  },
}
SCSS
$custom: #874bad;
$custom-light: #ad80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#874bad",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 276.735,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.15698,
    "h": 310.4
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#874BAD
secondary
#A5C192
accent
#CF5887
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #874BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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