#874CDD#874CDD

#874CDD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.210 H 297.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#874CDD
RGBrgb(135, 76, 221)
HSLhsl(264, 68%, 58%)
HSVhsv(264, 66%, 87%)
CMYKcmyk(38.9%, 65.6%, 0%, 13.3%)
CIE-LABlab(46.37, 54.19, -65.12)
CIE-LCHlch(46.37, 84.72, 309.76°)
OKLaboklab(56.13% 0.0985 -0.1857)
OKLCHoklch(56.13% 0.21 297.9)
XYZxyz(25.6239, 15.5399, 70.0421)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874CDD #A2DD4C
analogous
#4C59DD #874CDD #D04CDD
triadic
#874CDD #DD874C #4CDD87
tetradic
#874CDD #DD4C59 #A2DD4C #4CDDD0
square
#874CDD #DD4C59 #A2DD4C #4CDDD0
split-complementary
#874CDD #DDD04C #59DD4C
monochromatic
#4C1C93 #6726C6 #874CDD #A97FE7 #CCB3F1

Accessibility & contrast

On white

5.11
#874CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#874CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874CDD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874CDD#FFFFFF#000000##FFFFFF
##874CDD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #874cdd;
/* rgb */ color: rgb(135, 76, 221);
/* oklch */ color: oklch(56.1% 0.210 297.9);
Tailwind
colors: {
  custom: {
    50: '#b082e8',
    500: '#874cdd',
    950: '#000000',
  },
}
SCSS
$custom: #874cdd;
$custom-light: #b082e8;
$custom-dark: #000000;
JSON
{
  "hex": "#874cdd",
  "rgb": {
    "r": 135,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 264.414,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.21019,
    "h": 297.9
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#874CDD
secondary
#C8DFA6
accent
#EB3DA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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