#874AD8#874AD8

#874AD8 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.207 H 299.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#874AD8
RGBrgb(135, 74, 216)
HSLhsl(266, 65%, 57%)
HSVhsv(266, 66%, 85%)
CMYKcmyk(37.5%, 65.7%, 0%, 15.3%)
CIE-LABlab(45.64, 53.94, -63.44)
CIE-LCHlch(45.64, 83.27, 310.37°)
OKLaboklab(55.5% 0.1012 -0.1807)
OKLCHoklch(55.5% 0.207 299.2)
XYZxyz(24.8320, 15.0060, 66.5406)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874AD8 #9BD84A
analogous
#4A54D8 #874AD8 #CE4AD8
triadic
#874AD8 #D8874A #4AD887
tetradic
#874AD8 #D84A54 #9BD84A #4AD8CE
square
#874AD8 #D84A54 #9BD84A #4AD8CE
split-complementary
#874AD8 #D8CE4A #54D84A
monochromatic
#4C1E8A #6829BC #874AD8 #A87CE3 #CAAFEE

Accessibility & contrast

On white

5.25
#874AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#874AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874AD8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874AD8#FFFFFF#000000##FFFFFF
##874AD81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #874ad8;
/* rgb */ color: rgb(135, 74, 216);
/* oklch */ color: oklch(55.5% 0.207 299.2);
Tailwind
colors: {
  custom: {
    50: '#b080e5',
    500: '#874ad8',
    950: '#000000',
  },
}
SCSS
$custom: #874ad8;
$custom-light: #b080e5;
$custom-dark: #000000;
JSON
{
  "hex": "#874ad8",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 265.775,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.20713,
    "h": 299.2
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #874AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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