#874FE1#874FE1

#874FE1 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.211 H 296.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#874FE1
RGBrgb(135, 79, 225)
HSLhsl(263, 71%, 60%)
HSVhsv(263, 65%, 88%)
CMYKcmyk(40%, 64.9%, 0%, 11.8%)
CIE-LABlab(47.21, 53.68, -66.03)
CIE-LCHlch(47.21, 85.09, 309.11°)
OKLaboklab(56.82% 0.0949 -0.1883)
OKLCHoklch(56.82% 0.211 296.7)
XYZxyz(26.3747, 16.1786, 72.9528)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FE1 #A9E14F
analogous
#4F60E1 #874FE1 #D04FE1
triadic
#874FE1 #E1874F #4FE187
tetradic
#874FE1 #E14F60 #A9E14F #4FE1D0
square
#874FE1 #E14F60 #A9E14F #4FE1D0
split-complementary
#874FE1 #E1D04F #60E14F
monochromatic
#4C1A9B #6523CF #874FE1 #AB83EA #CEB8F3

Accessibility & contrast

On white

4.96
#874FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#874FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FE1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FE1#FFFFFF#000000##FFFFFF
##874FE11.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#717191
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #874fe1;
/* rgb */ color: rgb(135, 79, 225);
/* oklch */ color: oklch(56.8% 0.211 296.7);
Tailwind
colors: {
  custom: {
    50: '#b084eb',
    500: '#874fe1',
    950: '#000000',
  },
}
SCSS
$custom: #874fe1;
$custom-light: #b084eb;
$custom-dark: #000000;
JSON
{
  "hex": "#874fe1",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 263.014,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.2109,
    "h": 296.7
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#874FE1
secondary
#CCE2AA
accent
#EE3AA9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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