#874DDE#874DDE

#874DDE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.210 H 297.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#874DDE
RGBrgb(135, 77, 222)
HSLhsl(264, 69%, 59%)
HSVhsv(264, 65%, 87%)
CMYKcmyk(39.2%, 65.3%, 0%, 12.9%)
CIE-LABlab(46.62, 53.93, -65.28)
CIE-LCHlch(46.62, 84.68, 309.57°)
OKLaboklab(56.33% 0.0973 -0.1861)
OKLCHoklch(56.33% 0.21 297.6)
XYZxyz(25.8270, 15.7322, 70.7690)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DDE #A4DE4D
analogous
#4D5BDE #874DDE #CF4DDE
triadic
#874DDE #DE874D #4DDE87
tetradic
#874DDE #DE4D5B #A4DE4D #4DDECF
square
#874DDE #DE4D5B #A4DE4D #4DDECF
split-complementary
#874DDE #DECF4D #5BDE4D
monochromatic
#4C1C95 #6725C9 #874DDE #AA81E8 #CDB4F1

Accessibility & contrast

On white

5.06
#874DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#874DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874DDE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874DDE#FFFFFF#000000##FFFFFF
##874DDE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#726F8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #874dde;
/* rgb */ color: rgb(135, 77, 222);
/* oklch */ color: oklch(56.3% 0.210 297.6);
Tailwind
colors: {
  custom: {
    50: '#b082e9',
    500: '#874dde',
    950: '#000000',
  },
}
SCSS
$custom: #874dde;
$custom-light: #b082e9;
$custom-dark: #000000;
JSON
{
  "hex": "#874dde",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 264,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.21004,
    "h": 297.6
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #874DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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