#874CCD#874CCD

#874CCD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.192 H 301.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#874CCD
RGBrgb(135, 76, 205)
HSLhsl(267, 56%, 55%)
HSVhsv(267, 63%, 80%)
CMYKcmyk(34.1%, 62.9%, 0%, 19.6%)
CIE-LABlab(45.26, 50.19, -57.75)
CIE-LCHlch(45.26, 76.51, 310.99°)
OKLaboklab(54.98% 0.1 -0.164)
OKLCHoklch(54.98% 0.192 301.4)
XYZxyz(23.5929, 14.7275, 59.3455)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874CCD #92CD4C
analogous
#4C51CD #874CCD #C84CCD
triadic
#874CCD #CD874C #4CCD87
tetradic
#874CCD #CD4C51 #92CD4C #4CCDC8
square
#874CCD #CD4C51 #92CD4C #4CCDC8
split-complementary
#874CCD #CDC84C #51CD4C
monochromatic
#4B237C #6930AC #874CCD #A77CDA #C7ACE8

Accessibility & contrast

On white

5.32
#874CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#874CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874CCD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874CCD#FFFFFF#000000##FFFFFF
##874CCD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#1D6ACA
Tritanopia (blue-blind)
#786886
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #874ccd;
/* rgb */ color: rgb(135, 76, 205);
/* oklch */ color: oklch(55.0% 0.192 301.4);
Tailwind
colors: {
  custom: {
    50: '#af81dd',
    500: '#874ccd',
    950: '#000000',
  },
}
SCSS
$custom: #874ccd;
$custom-light: #af81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#874ccd",
  "rgb": {
    "r": 135,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 267.442,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.19208,
    "h": 301.4
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#874CCD
secondary
#BDD59F
accent
#E0489A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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