#874EE6#874EE6

#874EE6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.218 H 296.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#874EE6
RGBrgb(135, 78, 230)
HSLhsl(263, 75%, 60%)
HSVhsv(263, 66%, 90%)
CMYKcmyk(41.3%, 66.1%, 0%, 9.8%)
CIE-LABlab(47.38, 55.47, -68.58)
CIE-LCHlch(47.38, 88.20, 308.97°)
OKLaboklab(57.06% 0.0953 -0.1958)
OKLCHoklch(57.06% 0.218 296)
XYZxyz(26.9952, 16.3123, 76.5739)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874EE6 #ADE64E
analogous
#4E61E6 #874EE6 #D34EE6
triadic
#874EE6 #E6874E #4EE687
tetradic
#874EE6 #E64E61 #ADE64E #4EE6D3
square
#874EE6 #E64E61 #ADE64E #4EE6D3
split-complementary
#874EE6 #E6D34E #61E64E
monochromatic
#4B17A3 #641FD8 #874EE6 #AB84EE #D0B9F5

Accessibility & contrast

On white

4.93
#874EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#874EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874EE6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874EE6#FFFFFF#000000##FFFFFF
##874EE61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #874ee6;
/* rgb */ color: rgb(135, 78, 230);
/* oklch */ color: oklch(57.1% 0.218 296.0);
Tailwind
colors: {
  custom: {
    50: '#b183ef',
    500: '#874ee6',
    950: '#000000',
  },
}
SCSS
$custom: #874ee6;
$custom-light: #b183ef;
$custom-dark: #000000;
JSON
{
  "hex": "#874ee6",
  "rgb": {
    "r": 135,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 262.5,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57061,
    "c": 0.21781,
    "h": 296
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#874EE6
secondary
#CFE5AB
accent
#D70E8C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #874EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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