#874BCE#874BCE

#874BCE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.195 H 301.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#874BCE
RGBrgb(135, 75, 206)
HSLhsl(267, 57%, 55%)
HSVhsv(267, 64%, 81%)
CMYKcmyk(34.5%, 63.6%, 0%, 19.2%)
CIE-LABlab(45.14, 50.95, -58.53)
CIE-LCHlch(45.14, 77.60, 311.04°)
OKLaboklab(54.91% 0.1011 -0.1663)
OKLCHoklch(54.91% 0.195 301.3)
XYZxyz(23.6457, 14.6392, 59.9605)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BCE #92CE4B
analogous
#4B50CE #874BCE #C84BCE
triadic
#874BCE #CE874B #4BCE87
tetradic
#874BCE #CE4B50 #92CE4B #4BCEC8
square
#874BCE #CE4B50 #92CE4B #4BCEC8
split-complementary
#874BCE #CEC84B #50CE4B
monochromatic
#4B227D #692FAD #874BCE #A77BDB #C7ABE8

Accessibility & contrast

On white

5.35
#874BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#874BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BCE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BCE#FFFFFF#000000##FFFFFF
##874BCE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#176ACB
Tritanopia (blue-blind)
#786886
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #874bce;
/* rgb */ color: rgb(135, 75, 206);
/* oklch */ color: oklch(54.9% 0.195 301.3);
Tailwind
colors: {
  custom: {
    50: '#af81de',
    500: '#874bce',
    950: '#000000',
  },
}
SCSS
$custom: #874bce;
$custom-light: #af81de;
$custom-dark: #000000;
JSON
{
  "hex": "#874bce",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 267.481,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.19458,
    "h": 301.3
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#874BCE
secondary
#BDD69F
accent
#E0479A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #874BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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