#874BC0#874BC0

#874BC0 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.179 H 304.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#874BC0
RGBrgb(135, 75, 192)
HSLhsl(271, 48%, 52%)
HSVhsv(271, 61%, 75%)
CMYKcmyk(29.7%, 60.9%, 0%, 24.7%)
CIE-LABlab(44.22, 47.53, -51.90)
CIE-LCHlch(44.22, 70.38, 312.48°)
OKLaboklab(53.95% 0.1018 -0.1468)
OKLCHoklch(53.95% 0.179 304.7)
XYZxyz(22.0201, 13.9889, 51.3990)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BC0 #84C04B
analogous
#4C4BC0 #874BC0 #C04BBF
triadic
#874BC0 #C0874B #4BC087
tetradic
#874BC0 #C04C4B #84C04B #4BBFC0
square
#874BC0 #C04C4B #84C04B #4BBFC0
split-complementary
#874BC0 #BFC04B #4BC04C
monochromatic
#49256B #683598 #874BC0 #A578D0 #C3A6E0

Accessibility & contrast

On white

5.53
#874BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#874BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BC0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BC0#FFFFFF#000000##FFFFFF
##874BC01.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A67C4
Deuteranopia (green-blind)
#3069BD
Tritanopia (blue-blind)
#7D637E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #874bc0;
/* rgb */ color: rgb(135, 75, 192);
/* oklch */ color: oklch(54.0% 0.179 304.7);
Tailwind
colors: {
  custom: {
    50: '#ae80d4',
    500: '#874bc0',
    950: '#000000',
  },
}
SCSS
$custom: #874bc0;
$custom-light: #ae80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#874bc0",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 270.769,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53951,
    "c": 0.17867,
    "h": 304.7
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#874BC0
secondary
#B3CD9A
accent
#D85092
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #874BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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