#874DE6#874DE6

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

Color values

HEX#874DE6
RGBrgb(135, 77, 230)
HSLhsl(263, 75%, 60%)
HSVhsv(263, 67%, 90%)
CMYKcmyk(41.3%, 66.5%, 0%, 9.8%)
CIE-LABlab(47.20, 55.97, -68.88)
CIE-LCHlch(47.20, 88.75, 309.10°)
OKLaboklab(56.93% 0.0963 -0.1967)
OKLCHoklch(56.93% 0.219 296.1)
XYZxyz(26.9247, 16.1713, 76.5504)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DE6 #ACE64D
analogous
#4D60E6 #874DE6 #D34DE6
triadic
#874DE6 #E6874D #4DE687
tetradic
#874DE6 #E64D60 #ACE64D #4DE6D3
square
#874DE6 #E64D60 #ACE64D #4DE6D3
split-complementary
#874DE6 #E6D34D #60E64D
monochromatic
#4B17A2 #641ED8 #874DE6 #AB83EE #CFB8F5

Accessibility & contrast

On white

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

On black

4.23
#874DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##874DE6#FFFFFF#000000##FFFFFF
##874DE61.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#6E7293
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #874de6;
/* rgb */ color: rgb(135, 77, 230);
/* oklch */ color: oklch(56.9% 0.219 296.1);
Tailwind
colors: {
  custom: {
    50: '#b182ef',
    500: '#874de6',
    950: '#000000',
  },
}
SCSS
$custom: #874de6;
$custom-light: #b182ef;
$custom-dark: #000000;
JSON
{
  "hex": "#874de6",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 262.745,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.21904,
    "h": 296.1
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#874DE6
secondary
#CEE5AA
accent
#D80E8B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #874DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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