#874FF4#874FF4

#874FF4 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.232 H 293.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#874FF4
RGBrgb(135, 79, 244)
HSLhsl(260, 88%, 63%)
HSVhsv(260, 68%, 96%)
CMYKcmyk(44.7%, 67.6%, 0%, 4.3%)
CIE-LABlab(48.60, 58.58, -74.47)
CIE-LCHlch(48.60, 94.75, 308.19°)
OKLaboklab(58.26% 0.0924 -0.2132)
OKLCHoklch(58.26% 0.232 293.4)
XYZxyz(29.1123, 17.2736, 87.3707)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FF4 #BCF44F
analogous
#4F69F4 #874FF4 #DA4FF4
triadic
#874FF4 #F4874F #4FF487
tetradic
#874FF4 #F44F69 #BCF44F #4FF4DA
square
#874FF4 #F44F69 #BCF44F #4FF4DA
split-complementary
#874FF4 #F4DA4F #69F44F
monochromatic
#480CBD #6015F0 #874FF4 #AE89F8 #D6C2FB

Accessibility & contrast

On white

4.71
#874FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#874FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FF4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FF4#FFFFFF#000000##FFFFFF
##874FF41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F9
Deuteranopia (green-blind)
#0070F1
Tritanopia (blue-blind)
#67789C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #874ff4;
/* rgb */ color: rgb(135, 79, 244);
/* oklch */ color: oklch(58.3% 0.232 293.4);
Tailwind
colors: {
  custom: {
    50: '#b284f9',
    500: '#874ff4',
    950: '#000000',
  },
}
SCSS
$custom: #874ff4;
$custom-light: #b284f9;
$custom-dark: #000000;
JSON
{
  "hex": "#874ff4",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 260.364,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.23231,
    "h": 293.4
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#874FF4
secondary
#D9EDB2
accent
#E50197
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #874FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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