#874ACB#874ACB

#874ACB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.193 H 302.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#874ACB
RGBrgb(135, 74, 203)
HSLhsl(268, 55%, 54%)
HSVhsv(268, 64%, 80%)
CMYKcmyk(33.5%, 63.5%, 0%, 20.4%)
CIE-LABlab(44.75, 50.72, -57.43)
CIE-LCHlch(44.75, 76.62, 311.45°)
OKLaboklab(54.56% 0.1024 -0.163)
OKLCHoklch(54.56% 0.193 302.1)
XYZxyz(23.2174, 14.3602, 58.0370)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ACB #8ECB4A
analogous
#4A4ECB #874ACB #C84ACB
triadic
#874ACB #CB874A #4ACB87
tetradic
#874ACB #CB4A4E #8ECB4A #4ACBC8
square
#874ACB #CB4A4E #8ECB4A #4ACBC8
split-complementary
#874ACB #CBC84A #4ECB4A
monochromatic
#4B2378 #6930A8 #874ACB #A77AD9 #C6A9E6

Accessibility & contrast

On white

5.42
#874ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#874ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ACB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ACB#FFFFFF#000000##FFFFFF
##874ACB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#1C69C8
Tritanopia (blue-blind)
#796684
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874acb;
/* rgb */ color: rgb(135, 74, 203);
/* oklch */ color: oklch(54.6% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#af80dc',
    500: '#874acb',
    950: '#000000',
  },
}
SCSS
$custom: #874acb;
$custom-light: #af80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#874acb",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 268.372,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.19255,
    "h": 302.1
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#874ACB
secondary
#BAD49D
accent
#DF4998
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #874ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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