#874ABC#874ABC

#874ABC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.176 H 306.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#874ABC
RGBrgb(135, 74, 188)
HSLhsl(272, 46%, 51%)
HSVhsv(272, 61%, 74%)
CMYKcmyk(28.2%, 60.6%, 0%, 26.3%)
CIE-LABlab(43.77, 47.10, -50.29)
CIE-LCHlch(43.77, 68.90, 313.12°)
OKLaboklab(53.55% 0.1031 -0.1421)
OKLCHoklch(53.55% 0.176 306)
XYZxyz(21.5156, 13.6795, 49.0741)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ABC #7FBC4A
analogous
#4E4ABC #874ABC #BC4AB8
triadic
#874ABC #BC874A #4ABC87
tetradic
#874ABC #BC4E4A #7FBC4A #4AB8BC
square
#874ABC #BC4E4A #7FBC4A #4AB8BC
split-complementary
#874ABC #B8BC4A #4ABC4E
monochromatic
#482666 #683693 #874ABC #A577CD #C2A3DD

Accessibility & contrast

On white

5.62
#874ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#874ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ABC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ABC#FFFFFF#000000##FFFFFF
##874ABC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265C0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#7E617C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #874abc;
/* rgb */ color: rgb(135, 74, 188);
/* oklch */ color: oklch(53.5% 0.176 306.0);
Tailwind
colors: {
  custom: {
    50: '#ad80d1',
    500: '#874abc',
    950: '#000000',
  },
}
SCSS
$custom: #874abc;
$custom-light: #ad80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#874abc",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 272.105,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.17558,
    "h": 306
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#874ABC
secondary
#AFCA98
accent
#D6528F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #874ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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