#874AD3#874AD3

#874AD3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.202 H 300.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#874AD3
RGBrgb(135, 74, 211)
HSLhsl(267, 61%, 56%)
HSVhsv(267, 65%, 83%)
CMYKcmyk(36%, 64.9%, 0%, 17.3%)
CIE-LABlab(45.29, 52.70, -61.15)
CIE-LCHlch(45.29, 80.72, 310.75°)
OKLaboklab(55.13% 0.1017 -0.174)
OKLCHoklch(55.13% 0.202 300.3)
XYZxyz(24.1955, 14.7514, 63.1880)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874AD3 #96D34A
analogous
#4A51D3 #874AD3 #CB4AD3
triadic
#874AD3 #D3874A #4AD387
tetradic
#874AD3 #D34A51 #96D34A #4AD3CB
square
#874AD3 #D34A51 #96D34A #4AD3CB
split-complementary
#874AD3 #D3CB4A #51D34A
monochromatic
#4C2083 #682CB4 #874AD3 #A87BDF #C8ACEB

Accessibility & contrast

On white

5.32
#874AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#874AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874AD3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874AD3#FFFFFF#000000##FFFFFF
##874AD31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#766988
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #874ad3;
/* rgb */ color: rgb(135, 74, 211);
/* oklch */ color: oklch(55.1% 0.202 300.3);
Tailwind
colors: {
  custom: {
    50: '#af80e1',
    500: '#874ad3',
    950: '#000000',
  },
}
SCSS
$custom: #874ad3;
$custom-light: #af80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#874ad3",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 211
  },
  "hsl": {
    "h": 266.715,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55132,
    "c": 0.20153,
    "h": 300.3
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#874AD3
secondary
#C0D9A0
accent
#E4449D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #874AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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