#874BDD#874BDD

#874BDD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.211 H 298.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#874BDD
RGBrgb(135, 75, 221)
HSLhsl(265, 68%, 58%)
HSVhsv(265, 66%, 87%)
CMYKcmyk(38.9%, 66.1%, 0%, 13.3%)
CIE-LABlab(46.18, 54.69, -65.42)
CIE-LCHlch(46.18, 85.27, 309.90°)
OKLaboklab(56% 0.0995 -0.1865)
OKLCHoklch(56% 0.211 298.1)
XYZxyz(25.5556, 15.4031, 70.0193)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BDD #A1DD4B
analogous
#4B58DD #874BDD #D04BDD
triadic
#874BDD #DD874B #4BDD87
tetradic
#874BDD #DD4B58 #A1DD4B #4BDDD0
square
#874BDD #DD4B58 #A1DD4B #4BDDD0
split-complementary
#874BDD #DDD04B #58DD4B
monochromatic
#4C1C92 #6725C5 #874BDD #A97EE7 #CCB2F0

Accessibility & contrast

On white

5.15
#874BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#874BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BDD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BDD#FFFFFF#000000##FFFFFF
##874BDD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#726D8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #874bdd;
/* rgb */ color: rgb(135, 75, 221);
/* oklch */ color: oklch(56.0% 0.211 298.1);
Tailwind
colors: {
  custom: {
    50: '#b081e8',
    500: '#874bdd',
    950: '#000000',
  },
}
SCSS
$custom: #874bdd;
$custom-light: #b081e8;
$custom-dark: #000000;
JSON
{
  "hex": "#874bdd",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 264.658,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.21145,
    "h": 298.1
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#874BDD
secondary
#C7DFA5
accent
#EB3DA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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