#874FCC#874FCC

#874FCC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.187 H 301.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#874FCC
RGBrgb(135, 79, 204)
HSLhsl(267, 55%, 55%)
HSVhsv(267, 61%, 80%)
CMYKcmyk(33.8%, 61.3%, 0%, 20%)
CIE-LABlab(45.77, 48.37, -56.34)
CIE-LCHlch(45.77, 74.26, 310.64°)
OKLaboklab(55.33% 0.0965 -0.1599)
OKLCHoklch(55.33% 0.187 301.1)
XYZxyz(23.6841, 15.1024, 58.7823)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FCC #94CC4F
analogous
#4F55CC #874FCC #C54FCC
triadic
#874FCC #CC874F #4FCC87
tetradic
#874FCC #CC4F55 #94CC4F #4FCCC5
square
#874FCC #CC4F55 #94CC4F #4FCCC5
split-complementary
#874FCC #CCC54F #55CC4F
monochromatic
#4C247D #6932AC #874FCC #A77EDA #C8AEE7

Accessibility & contrast

On white

5.22
#874FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#874FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FCC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FCC#FFFFFF#000000##FFFFFF
##874FCC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#256CC9
Tritanopia (blue-blind)
#796A86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #874fcc;
/* rgb */ color: rgb(135, 79, 204);
/* oklch */ color: oklch(55.3% 0.187 301.1);
Tailwind
colors: {
  custom: {
    50: '#ae83dc',
    500: '#874fcc',
    950: '#000000',
  },
}
SCSS
$custom: #874fcc;
$custom-light: #ae83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#874fcc",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 266.88,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.18677,
    "h": 301.1
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#874FCC
secondary
#BED5A1
accent
#DE499C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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