#874FC0#874FC0

#874FC0 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.173 H 304.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#874FC0
RGBrgb(135, 79, 192)
HSLhsl(270, 47%, 53%)
HSVhsv(270, 59%, 75%)
CMYKcmyk(29.7%, 58.9%, 0%, 24.7%)
CIE-LABlab(45.01, 45.41, -50.63)
CIE-LCHlch(45.01, 68.01, 311.89°)
OKLaboklab(54.53% 0.0969 -0.1431)
OKLCHoklch(54.53% 0.173 304.1)
XYZxyz(22.3000, 14.5487, 51.4923)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FC0 #88C04F
analogous
#4F4FC0 #874FC0 #C04FC0
triadic
#874FC0 #C0874F #4FC087
tetradic
#874FC0 #C04F4F #88C04F #4FC0C0
square
#874FC0 #C04F4F #88C04F #4FC0C0
split-complementary
#874FC0 #C0C04F #4FC04F
monochromatic
#4A276D #68379A #874FC0 #A67CD0 #C4A9E0

Accessibility & contrast

On white

5.37
#874FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#874FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FC0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FC0#FFFFFF#000000##FFFFFF
##874FC01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C4
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#7D6680
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874fc0;
/* rgb */ color: rgb(135, 79, 192);
/* oklch */ color: oklch(54.5% 0.173 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad83d4',
    500: '#874fc0',
    950: '#000000',
  },
}
SCSS
$custom: #874fc0;
$custom-light: #ad83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#874fc0",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 269.735,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.17279,
    "h": 304.1
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#874FC0
secondary
#B6CE9D
accent
#D75194
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #874FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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