#874CD0#874CD0

#874CD0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.195 H 300.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#874CD0
RGBrgb(135, 76, 208)
HSLhsl(267, 58%, 56%)
HSVhsv(267, 63%, 82%)
CMYKcmyk(35.1%, 63.5%, 0%, 18.4%)
CIE-LABlab(45.46, 50.93, -59.15)
CIE-LCHlch(45.46, 78.06, 310.73°)
OKLaboklab(55.19% 0.0998 -0.1681)
OKLCHoklch(55.19% 0.195 300.7)
XYZxyz(23.9585, 14.8737, 61.2710)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874CD0 #95D04C
analogous
#4C53D0 #874CD0 #C94CD0
triadic
#874CD0 #D0874C #4CD087
tetradic
#874CD0 #D04C53 #95D04C #4CD0C9
square
#874CD0 #D04C53 #95D04C #4CD0C9
split-complementary
#874CD0 #D0C94C #53D04C
monochromatic
#4C2280 #682EB0 #874CD0 #A77CDD #C8ADE9

Accessibility & contrast

On white

5.28
#874CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#874CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874CD0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874CD0#FFFFFF#000000##FFFFFF
##874CD01.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#156BCD
Tritanopia (blue-blind)
#776987
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #874cd0;
/* rgb */ color: rgb(135, 76, 208);
/* oklch */ color: oklch(55.2% 0.195 300.7);
Tailwind
colors: {
  custom: {
    50: '#af81df',
    500: '#874cd0',
    950: '#000000',
  },
}
SCSS
$custom: #874cd0;
$custom-light: #af81df;
$custom-dark: #000000;
JSON
{
  "hex": "#874cd0",
  "rgb": {
    "r": 135,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 266.818,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.19549,
    "h": 300.7
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#874CD0
secondary
#BFD7A0
accent
#E2469C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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