#874AD9#874AD9

#874AD9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.208 H 299.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#874AD9
RGBrgb(135, 74, 217)
HSLhsl(266, 65%, 57%)
HSVhsv(266, 66%, 85%)
CMYKcmyk(37.8%, 65.9%, 0%, 14.9%)
CIE-LABlab(45.71, 54.19, -63.90)
CIE-LCHlch(45.71, 83.78, 310.30°)
OKLaboklab(55.57% 0.1011 -0.1821)
OKLCHoklch(55.57% 0.208 299)
XYZxyz(24.9617, 15.0579, 67.2235)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874AD9 #9CD94A
analogous
#4A55D9 #874AD9 #CE4AD9
triadic
#874AD9 #D9874A #4AD987
tetradic
#874AD9 #D94A55 #9CD94A #4AD9CE
square
#874AD9 #D94A55 #9CD94A #4AD9CE
split-complementary
#874AD9 #D9CE4A #55D94A
monochromatic
#4C1D8B #6828BE #874AD9 #A97DE4 #CAAFEE

Accessibility & contrast

On white

5.23
#874AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#874AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874AD9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874AD9#FFFFFF#000000##FFFFFF
##874AD91.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#746B8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #874ad9;
/* rgb */ color: rgb(135, 74, 217);
/* oklch */ color: oklch(55.6% 0.208 299.0);
Tailwind
colors: {
  custom: {
    50: '#b080e6',
    500: '#874ad9',
    950: '#000000',
  },
}
SCSS
$custom: #874ad9;
$custom-light: #b080e6;
$custom-dark: #000000;
JSON
{
  "hex": "#874ad9",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 265.594,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55568,
    "c": 0.20824,
    "h": 299
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#874AD9
secondary
#C4DCA2
accent
#E840A0
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #874AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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