#874DCF#874DCF

#874DCF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.193 H 300.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#874DCF
RGBrgb(135, 77, 207)
HSLhsl(267, 58%, 56%)
HSVhsv(267, 63%, 81%)
CMYKcmyk(34.8%, 62.8%, 0%, 18.8%)
CIE-LABlab(45.58, 50.16, -58.38)
CIE-LCHlch(45.58, 76.97, 310.67°)
OKLaboklab(55.26% 0.0987 -0.1658)
OKLCHoklch(55.26% 0.193 300.8)
XYZxyz(23.9053, 14.9635, 60.6482)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DCF #95CF4D
analogous
#4D54CF #874DCF #C84DCF
triadic
#874DCF #CF874D #4DCF87
tetradic
#874DCF #CF4D54 #95CF4D #4DCFC8
square
#874DCF #CF4D54 #95CF4D #4DCFC8
split-complementary
#874DCF #CFC84D #54CF4D
monochromatic
#4C227F #682FAF #874DCF #A77DDC #C8ADE9

Accessibility & contrast

On white

5.26
#874DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#874DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874DCF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874DCF#FFFFFF#000000##FFFFFF
##874DCF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#1A6BCC
Tritanopia (blue-blind)
#786987
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #874dcf;
/* rgb */ color: rgb(135, 77, 207);
/* oklch */ color: oklch(55.3% 0.193 300.8);
Tailwind
colors: {
  custom: {
    50: '#af82de',
    500: '#874dcf',
    950: '#000000',
  },
}
SCSS
$custom: #874dcf;
$custom-light: #af82de;
$custom-dark: #000000;
JSON
{
  "hex": "#874dcf",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 266.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.193,
    "h": 300.8
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#874DCF
secondary
#BFD7A1
accent
#E1479C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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