#874BAE#874BAE

#874BAE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.158 H 310.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#874BAE
RGBrgb(135, 75, 174)
HSLhsl(276, 40%, 49%)
HSVhsv(276, 57%, 68%)
CMYKcmyk(22.4%, 56.9%, 0%, 31.8%)
CIE-LABlab(43.12, 43.28, -43.11)
CIE-LCHlch(43.12, 61.09, 315.12°)
OKLaboklab(52.8% 0.1017 -0.1211)
OKLCHoklch(52.8% 0.158 310)
XYZxyz(20.1463, 13.2394, 41.5304)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BAE #72AE4B
analogous
#564BAE #874BAE #AE4BA4
triadic
#874BAE #AE874B #4BAE87
tetradic
#874BAE #AE564B #72AE4B #4BA4AE
square
#874BAE #AE564B #72AE4B #4BA4AE
split-complementary
#874BAE #A4AE4B #4BAE56
monochromatic
#452658 #663983 #874BAE #A473C3 #C09ED5

Accessibility & contrast

On white

5.76
#874BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#874BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BAE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BAE#FFFFFF#000000##FFFFFF
##874BAE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#825D75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #874bae;
/* rgb */ color: rgb(135, 75, 174);
/* oklch */ color: oklch(52.8% 0.158 310.0);
Tailwind
colors: {
  custom: {
    50: '#ad80c7',
    500: '#874bae',
    950: '#000000',
  },
}
SCSS
$custom: #874bae;
$custom-light: #ad80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#874bae",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 276.364,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.15812,
    "h": 310
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#874BAE
secondary
#A5C293
accent
#D05887
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #874BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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