#874FDC#874FDC

#874FDC is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.205 H 297.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#874FDC
RGBrgb(135, 79, 220)
HSLhsl(264, 67%, 59%)
HSVhsv(264, 64%, 86%)
CMYKcmyk(38.6%, 64.1%, 0%, 13.7%)
CIE-LABlab(46.86, 52.40, -63.76)
CIE-LCHlch(46.86, 82.53, 309.42°)
OKLaboklab(56.46% 0.0954 -0.1817)
OKLCHoklch(56.46% 0.205 297.7)
XYZxyz(25.7026, 15.9098, 69.4130)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FDC #A4DC4F
analogous
#4F5DDC #874FDC #CE4FDC
triadic
#874FDC #DC874F #4FDC87
tetradic
#874FDC #DC4F5D #A4DC4F #4FDCCE
square
#874FDC #DC4F5D #A4DC4F #4FDCCE
split-complementary
#874FDC #DCCE4F #5DDC4F
monochromatic
#4C1D93 #6727C6 #874FDC #AA82E6 #CDB5F0

Accessibility & contrast

On white

5.02
#874FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#874FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FDC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FDC#FFFFFF#000000##FFFFFF
##874FDC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#736F8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #874fdc;
/* rgb */ color: rgb(135, 79, 220);
/* oklch */ color: oklch(56.5% 0.205 297.7);
Tailwind
colors: {
  custom: {
    50: '#b083e8',
    500: '#874fdc',
    950: '#000000',
  },
}
SCSS
$custom: #874fdc;
$custom-light: #b083e8;
$custom-dark: #000000;
JSON
{
  "hex": "#874fdc",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 263.83,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.2052,
    "h": 297.7
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#874FDC
secondary
#C9DFA8
accent
#EA3EA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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