#874ABB#874ABB

#874ABB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.174 H 306.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#874ABB
RGBrgb(135, 74, 187)
HSLhsl(272, 45%, 51%)
HSVhsv(272, 60%, 73%)
CMYKcmyk(27.8%, 60.4%, 0%, 26.7%)
CIE-LABlab(43.71, 46.86, -49.81)
CIE-LCHlch(43.71, 68.39, 313.25°)
OKLaboklab(53.48% 0.1032 -0.1407)
OKLCHoklch(53.48% 0.174 306.3)
XYZxyz(21.4082, 13.6365, 48.5084)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ABB #7EBB4A
analogous
#4E4ABB #874ABB #BB4AB7
triadic
#874ABB #BB874A #4ABB87
tetradic
#874ABB #BB4E4A #7EBB4A #4AB7BB
square
#874ABB #BB4E4A #7EBB4A #4AB7BB
split-complementary
#874ABB #B7BB4A #4ABB4E
monochromatic
#482665 #683791 #874ABB #A476CC #C2A3DC

Accessibility & contrast

On white

5.63
#874ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#874ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ABB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ABB#FFFFFF#000000##FFFFFF
##874ABB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#7E607B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #874abb;
/* rgb */ color: rgb(135, 74, 187);
/* oklch */ color: oklch(53.5% 0.174 306.3);
Tailwind
colors: {
  custom: {
    50: '#ad7fd0',
    500: '#874abb',
    950: '#000000',
  },
}
SCSS
$custom: #874abb;
$custom-light: #ad7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#874abb",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 272.389,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53479,
    "c": 0.17444,
    "h": 306.3
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#874ABB
secondary
#AEC997
accent
#D5538F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #874ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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