#874FBE#874FBE

#874FBE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.170 H 304.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#874FBE
RGBrgb(135, 79, 190)
HSLhsl(270, 46%, 53%)
HSVhsv(270, 58%, 75%)
CMYKcmyk(28.9%, 58.4%, 0%, 25.5%)
CIE-LABlab(44.89, 44.92, -49.67)
CIE-LCHlch(44.89, 66.97, 312.13°)
OKLaboklab(54.4% 0.0969 -0.1403)
OKLCHoklch(54.4% 0.17 304.6)
XYZxyz(22.0799, 14.4607, 50.3332)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FBE #86BE4F
analogous
#4F4FBE #874FBE #BE4FBE
triadic
#874FBE #BE874F #4FBE87
tetradic
#874FBE #BE4F4F #86BE4F #4FBEBE
square
#874FBE #BE4F4F #86BE4F #4FBEBE
split-complementary
#874FBE #BEBE4F #4FBE4F
monochromatic
#4A286B #683898 #874FBE #A57CCF #C4A8DF

Accessibility & contrast

On white

5.40
#874FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#874FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FBE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FBE#FFFFFF#000000##FFFFFF
##874FBE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#386ABB
Tritanopia (blue-blind)
#7D657F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874fbe;
/* rgb */ color: rgb(135, 79, 190);
/* oklch */ color: oklch(54.4% 0.170 304.6);
Tailwind
colors: {
  custom: {
    50: '#ad83d2',
    500: '#874fbe',
    950: '#000000',
  },
}
SCSS
$custom: #874fbe;
$custom-light: #ad83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#874fbe",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 270.27,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.544,
    "c": 0.17046,
    "h": 304.6
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#874FBE
secondary
#B4CC9C
accent
#D65293
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #874FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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