#874ADD#874ADD

#874ADD is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.213 H 298.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#874ADD
RGBrgb(135, 74, 221)
HSLhsl(265, 68%, 58%)
HSVhsv(265, 67%, 87%)
CMYKcmyk(38.9%, 66.5%, 0%, 13.3%)
CIE-LABlab(46.00, 55.19, -65.72)
CIE-LCHlch(46.00, 85.82, 310.03°)
OKLaboklab(55.86% 0.1006 -0.1874)
OKLCHoklch(55.86% 0.213 298.2)
XYZxyz(25.4883, 15.2685, 69.9969)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ADD #A0DD4A
analogous
#4A56DD #874ADD #D04ADD
triadic
#874ADD #DD874A #4ADD87
tetradic
#874ADD #DD4A56 #A0DD4A #4ADDD0
square
#874ADD #DD4A56 #A0DD4A #4ADDD0
split-complementary
#874ADD #DDD04A #56DD4A
monochromatic
#4C1B91 #6725C5 #874ADD #A97EE7 #CBB1F0

Accessibility & contrast

On white

5.18
#874ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#874ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ADD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ADD#FFFFFF#000000##FFFFFF
##874ADD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#726D8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #874add;
/* rgb */ color: rgb(135, 74, 221);
/* oklch */ color: oklch(55.9% 0.213 298.2);
Tailwind
colors: {
  custom: {
    50: '#b080e8',
    500: '#874add',
    950: '#000000',
  },
}
SCSS
$custom: #874add;
$custom-light: #b080e8;
$custom-dark: #000000;
JSON
{
  "hex": "#874add",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 264.898,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.21269,
    "h": 298.2
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#874ADD
secondary
#C6DFA4
accent
#EB3DA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #874ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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