#874ABA#874ABA

#874ABA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.173 H 306.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#874ABA
RGBrgb(135, 74, 186)
HSLhsl(273, 45%, 51%)
HSVhsv(273, 60%, 73%)
CMYKcmyk(27.4%, 60.2%, 0%, 27.1%)
CIE-LABlab(43.64, 46.62, -49.32)
CIE-LCHlch(43.64, 67.87, 313.39°)
OKLaboklab(53.41% 0.1032 -0.1393)
OKLCHoklch(53.41% 0.173 306.5)
XYZxyz(21.3015, 13.5938, 47.9465)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ABA #7DBA4A
analogous
#4F4ABA #874ABA #BA4AB5
triadic
#874ABA #BA874A #4ABA87
tetradic
#874ABA #BA4F4A #7DBA4A #4AB5BA
square
#874ABA #BA4F4A #7DBA4A #4AB5BA
split-complementary
#874ABA #B5BA4A #4ABA4F
monochromatic
#482664 #673790 #874ABA #A476CB #C2A3DC

Accessibility & contrast

On white

5.65
#874ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#874ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ABA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ABA#FFFFFF#000000##FFFFFF
##874ABA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BE
Deuteranopia (green-blind)
#3568B7
Tritanopia (blue-blind)
#7F607B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #874aba;
/* rgb */ color: rgb(135, 74, 186);
/* oklch */ color: oklch(53.4% 0.173 306.5);
Tailwind
colors: {
  custom: {
    50: '#ad7fcf',
    500: '#874aba',
    950: '#000000',
  },
}
SCSS
$custom: #874aba;
$custom-light: #ad7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#874aba",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 272.679,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.1733,
    "h": 306.5
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #874ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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