#874FE6#874FE6

#874FE6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.217 H 295.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#874FE6
RGBrgb(135, 79, 230)
HSLhsl(262, 75%, 61%)
HSVhsv(262, 66%, 90%)
CMYKcmyk(41.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(47.57, 54.96, -68.28)
CIE-LCHlch(47.57, 87.65, 308.83°)
OKLaboklab(57.19% 0.0943 -0.195)
OKLCHoklch(57.19% 0.217 295.8)
XYZxyz(27.0668, 16.4554, 76.5977)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FE6 #AEE64F
analogous
#4F62E6 #874FE6 #D34FE6
triadic
#874FE6 #E6874F #4FE687
tetradic
#874FE6 #E64F62 #AEE64F #4FE6D3
square
#874FE6 #E64F62 #AEE64F #4FE6D3
split-complementary
#874FE6 #E6D34F #62E64F
monochromatic
#4B17A3 #641FD9 #874FE6 #AC85EE #D0BAF5

Accessibility & contrast

On white

4.89
#874FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#874FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FE6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FE6#FFFFFF#000000##FFFFFF
##874FE61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#6E7394
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #874fe6;
/* rgb */ color: rgb(135, 79, 230);
/* oklch */ color: oklch(57.2% 0.217 295.8);
Tailwind
colors: {
  custom: {
    50: '#b184ef',
    500: '#874fe6',
    950: '#000000',
  },
}
SCSS
$custom: #874fe6;
$custom-light: #b184ef;
$custom-dark: #000000;
JSON
{
  "hex": "#874fe6",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 262.252,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.21657,
    "h": 295.8
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#874FE6
secondary
#D0E5AC
accent
#D70E8D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #874FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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