#874DCD#874DCD

#874DCD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.191 H 301.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#874DCD
RGBrgb(135, 77, 205)
HSLhsl(267, 56%, 55%)
HSVhsv(267, 62%, 80%)
CMYKcmyk(34.1%, 62.4%, 0%, 19.6%)
CIE-LABlab(45.45, 49.67, -57.44)
CIE-LCHlch(45.45, 75.94, 310.85°)
OKLaboklab(55.12% 0.0988 -0.1631)
OKLCHoklch(55.12% 0.191 301.2)
XYZxyz(23.6624, 14.8663, 59.3686)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DCD #93CD4D
analogous
#4D53CD #874DCD #C74DCD
triadic
#874DCD #CD874D #4DCD87
tetradic
#874DCD #CD4D53 #93CD4D #4DCDC7
square
#874DCD #CD4D53 #93CD4D #4DCDC7
split-complementary
#874DCD #CDC74D #53CD4D
monochromatic
#4C237D #6930AC #874DCD #A77DDA #C7ADE8

Accessibility & contrast

On white

5.29
#874DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #874DCD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874DCD#FFFFFF#000000##FFFFFF
##874DCD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#1F6BCA
Tritanopia (blue-blind)
#786986
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #874dcd;
/* rgb */ color: rgb(135, 77, 205);
/* oklch */ color: oklch(55.1% 0.191 301.2);
Tailwind
colors: {
  custom: {
    50: '#af82dd',
    500: '#874dcd',
    950: '#000000',
  },
}
SCSS
$custom: #874dcd;
$custom-light: #af82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#874dcd",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 267.188,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.19071,
    "h": 301.2
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#874DCD
secondary
#BDD6A0
accent
#DF489B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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