#874CDE#874CDE

#874CDE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.211 H 297.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#874CDE
RGBrgb(135, 76, 222)
HSLhsl(264, 69%, 58%)
HSVhsv(264, 66%, 87%)
CMYKcmyk(39.2%, 65.8%, 0%, 12.9%)
CIE-LABlab(46.44, 54.44, -65.58)
CIE-LCHlch(46.44, 85.23, 309.70°)
OKLaboklab(56.2% 0.0984 -0.187)
OKLCHoklch(56.2% 0.211 297.7)
XYZxyz(25.7576, 15.5933, 70.7458)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874CDE #A3DE4C
analogous
#4C5ADE #874CDE #D04CDE
triadic
#874CDE #DE874C #4CDE87
tetradic
#874CDE #DE4C5A #A3DE4C #4CDED0
square
#874CDE #DE4C5A #A3DE4C #4CDED0
split-complementary
#874CDE #DED04C #5ADE4C
monochromatic
#4C1B94 #6725C8 #874CDE #AA80E8 #CCB3F1

Accessibility & contrast

On white

5.10
#874CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#874CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874CDE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874CDE#FFFFFF#000000##FFFFFF
##874CDE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#726E8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #874cde;
/* rgb */ color: rgb(135, 76, 222);
/* oklch */ color: oklch(56.2% 0.211 297.7);
Tailwind
colors: {
  custom: {
    50: '#b082e9',
    500: '#874cde',
    950: '#000000',
  },
}
SCSS
$custom: #874cde;
$custom-light: #b082e9;
$custom-dark: #000000;
JSON
{
  "hex": "#874cde",
  "rgb": {
    "r": 135,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 264.247,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.562,
    "c": 0.21131,
    "h": 297.7
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#874CDE
secondary
#C8E0A6
accent
#EC3CA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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