#874FE9#874FE9

#874FE9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.220 H 295.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#874FE9
RGBrgb(135, 79, 233)
HSLhsl(262, 78%, 61%)
HSVhsv(262, 66%, 91%)
CMYKcmyk(42.1%, 66.1%, 0%, 8.6%)
CIE-LABlab(47.78, 55.73, -69.62)
CIE-LCHlch(47.78, 89.18, 308.68°)
OKLaboklab(57.42% 0.0939 -0.1989)
OKLCHoklch(57.42% 0.22 295.3)
XYZxyz(27.4917, 16.6254, 78.8356)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FE9 #B1E94F
analogous
#4F64E9 #874FE9 #D44FE9
triadic
#874FE9 #E9874F #4FE987
tetradic
#874FE9 #E94F64 #B1E94F #4FE9D4
square
#874FE9 #E94F64 #B1E94F #4FE9D4
split-complementary
#874FE9 #E9D44F #64E94F
monochromatic
#4B15A9 #631CDF #874FE9 #AC85F0 #D1BCF7

Accessibility & contrast

On white

4.86
#874FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#874FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FE9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FE9#FFFFFF#000000##FFFFFF
##874FE91.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#6D7496
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #874fe9;
/* rgb */ color: rgb(135, 79, 233);
/* oklch */ color: oklch(57.4% 0.220 295.3);
Tailwind
colors: {
  custom: {
    50: '#b184f1',
    500: '#874fe9',
    950: '#000000',
  },
}
SCSS
$custom: #874fe9;
$custom-light: #b184f1;
$custom-dark: #000000;
JSON
{
  "hex": "#874fe9",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 261.818,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.21996,
    "h": 295.3
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#874FE9
secondary
#D2E7AD
accent
#DA0B8F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #874FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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