#874EDA#874EDA

#874EDA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.204 H 298.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#874EDA
RGBrgb(135, 78, 218)
HSLhsl(264, 65%, 58%)
HSVhsv(264, 64%, 85%)
CMYKcmyk(38.1%, 64.2%, 0%, 14.5%)
CIE-LABlab(46.53, 52.41, -63.15)
CIE-LCHlch(46.53, 82.07, 309.69°)
OKLaboklab(56.18% 0.0967 -0.1799)
OKLCHoklch(56.18% 0.204 298.3)
XYZxyz(25.3678, 15.6613, 68.0025)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874EDA #A1DA4E
analogous
#4E5BDA #874EDA #CD4EDA
triadic
#874EDA #DA874E #4EDA87
tetradic
#874EDA #DA4E5B #A1DA4E #4EDACD
square
#874EDA #DA4E5B #A1DA4E #4EDACD
split-complementary
#874EDA #DACD4E #5BDA4E
monochromatic
#4C1E90 #6729C2 #874EDA #A981E5 #CCB3EF

Accessibility & contrast

On white

5.08
#874EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#874EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874EDA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874EDA#FFFFFF#000000##FFFFFF
##874EDA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#736E8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #874eda;
/* rgb */ color: rgb(135, 78, 218);
/* oklch */ color: oklch(56.2% 0.204 298.3);
Tailwind
colors: {
  custom: {
    50: '#b083e6',
    500: '#874eda',
    950: '#000000',
  },
}
SCSS
$custom: #874eda;
$custom-light: #b083e6;
$custom-dark: #000000;
JSON
{
  "hex": "#874eda",
  "rgb": {
    "r": 135,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 264.429,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.20422,
    "h": 298.3
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#874EDA
secondary
#C7DEA6
accent
#E83FA4
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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