#874BD9#874BD9

#874BD9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.207 H 298.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#874BD9
RGBrgb(135, 75, 217)
HSLhsl(265, 65%, 57%)
HSVhsv(265, 65%, 85%)
CMYKcmyk(37.8%, 65.4%, 0%, 14.9%)
CIE-LABlab(45.90, 53.69, -63.60)
CIE-LCHlch(45.90, 83.23, 310.17°)
OKLaboklab(55.7% 0.1 -0.1812)
OKLCHoklch(55.7% 0.207 298.9)
XYZxyz(25.0290, 15.1925, 67.2460)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BD9 #9DD94B
analogous
#4B56D9 #874BD9 #CE4BD9
triadic
#874BD9 #D9874B #4BD987
tetradic
#874BD9 #D94B56 #9DD94B #4BD9CE
square
#874BD9 #D94B56 #9DD94B #4BD9CE
split-complementary
#874BD9 #D9CE4B #56D94B
monochromatic
#4C1E8C #6828BF #874BD9 #A97EE4 #CAB0EE

Accessibility & contrast

On white

5.20
#874BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#874BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BD9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BD9#FFFFFF#000000##FFFFFF
##874BD91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#746C8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #874bd9;
/* rgb */ color: rgb(135, 75, 217);
/* oklch */ color: oklch(55.7% 0.207 298.9);
Tailwind
colors: {
  custom: {
    50: '#b081e6',
    500: '#874bd9',
    950: '#000000',
  },
}
SCSS
$custom: #874bd9;
$custom-light: #b081e6;
$custom-dark: #000000;
JSON
{
  "hex": "#874bd9",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 265.352,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.557,
    "c": 0.20697,
    "h": 298.9
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#874BD9
secondary
#C4DDA3
accent
#E840A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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