#874FE0#874FE0

#874FE0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.210 H 296.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#874FE0
RGBrgb(135, 79, 224)
HSLhsl(263, 70%, 59%)
HSVhsv(263, 65%, 88%)
CMYKcmyk(39.7%, 64.7%, 0%, 12.2%)
CIE-LABlab(47.14, 53.42, -65.58)
CIE-LCHlch(47.14, 84.58, 309.17°)
OKLaboklab(56.75% 0.095 -0.187)
OKLCHoklch(56.75% 0.21 296.9)
XYZxyz(26.2387, 16.1242, 72.2364)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FE0 #A8E04F
analogous
#4F60E0 #874FE0 #CF4FE0
triadic
#874FE0 #E0874F #4FE087
tetradic
#874FE0 #E04F60 #A8E04F #4FE0CF
square
#874FE0 #E04F60 #A8E04F #4FE0CF
split-complementary
#874FE0 #E0CF4F #60E04F
monochromatic
#4C1B9A #6624CE #874FE0 #AA83E9 #CEB7F2

Accessibility & contrast

On white

4.97
#874FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#874FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FE0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FE0#FFFFFF#000000##FFFFFF
##874FE01.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#717191
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #874fe0;
/* rgb */ color: rgb(135, 79, 224);
/* oklch */ color: oklch(56.7% 0.210 296.9);
Tailwind
colors: {
  custom: {
    50: '#b084eb',
    500: '#874fe0',
    950: '#000000',
  },
}
SCSS
$custom: #874fe0;
$custom-light: #b084eb;
$custom-dark: #000000;
JSON
{
  "hex": "#874fe0",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 263.172,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.20977,
    "h": 296.9
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#874FE0
secondary
#CCE2A9
accent
#ED3BA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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