#874AE1#874AE1

#874AE1 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.217 H 297.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#874AE1
RGBrgb(135, 74, 225)
HSLhsl(264, 72%, 59%)
HSVhsv(264, 67%, 88%)
CMYKcmyk(40%, 67.1%, 0%, 11.8%)
CIE-LABlab(46.29, 56.20, -67.52)
CIE-LCHlch(46.29, 87.84, 309.77°)
OKLaboklab(56.16% 0.1001 -0.1927)
OKLCHoklch(56.16% 0.217 297.4)
XYZxyz(26.0276, 15.4843, 72.8370)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874AE1 #A4E14A
analogous
#4A58E1 #874AE1 #D24AE1
triadic
#874AE1 #E1874A #4AE187
tetradic
#874AE1 #E14A58 #A4E14A #4AE1D2
square
#874AE1 #E14A58 #A4E14A #4AE1D2
split-complementary
#874AE1 #E1D24A #58E14A
monochromatic
#4C1997 #6722CC #874AE1 #AA7EEA #CDB3F2

Accessibility & contrast

On white

5.13
#874AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#874AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874AE1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874AE1#FFFFFF#000000##FFFFFF
##874AE11.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#716E90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #874ae1;
/* rgb */ color: rgb(135, 74, 225);
/* oklch */ color: oklch(56.2% 0.217 297.4);
Tailwind
colors: {
  custom: {
    50: '#b081eb',
    500: '#874ae1',
    950: '#000000',
  },
}
SCSS
$custom: #874ae1;
$custom-light: #b081eb;
$custom-dark: #000000;
JSON
{
  "hex": "#874ae1",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 264.238,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.21713,
    "h": 297.4
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#874AE1
secondary
#C9E1A6
accent
#EE39A5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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