#874BBF#874BBF

#874BBF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.178 H 305.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#874BBF
RGBrgb(135, 75, 191)
HSLhsl(271, 48%, 52%)
HSVhsv(271, 61%, 75%)
CMYKcmyk(29.3%, 60.7%, 0%, 25.1%)
CIE-LABlab(44.15, 47.29, -51.42)
CIE-LCHlch(44.15, 69.86, 312.60°)
OKLaboklab(53.89% 0.1018 -0.1454)
OKLCHoklch(53.89% 0.178 305)
XYZxyz(21.9097, 13.9448, 50.8175)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BBF #83BF4B
analogous
#4D4BBF #874BBF #BF4BBD
triadic
#874BBF #BF874B #4BBF87
tetradic
#874BBF #BF4D4B #83BF4B #4BBDBF
square
#874BBF #BF4D4B #83BF4B #4BBDBF
split-complementary
#874BBF #BDBF4B #4BBF4D
monochromatic
#49266A #683697 #874BBF #A578CF #C3A5DF

Accessibility & contrast

On white

5.54
#874BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#874BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BBF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BBF#FFFFFF#000000##FFFFFF
##874BBF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E67C3
Deuteranopia (green-blind)
#3169BC
Tritanopia (blue-blind)
#7D627E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #874bbf;
/* rgb */ color: rgb(135, 75, 191);
/* oklch */ color: oklch(53.9% 0.178 305.0);
Tailwind
colors: {
  custom: {
    50: '#ae80d3',
    500: '#874bbf',
    950: '#000000',
  },
}
SCSS
$custom: #874bbf;
$custom-light: #ae80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#874bbf",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 271.034,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.17752,
    "h": 305
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#874BBF
secondary
#B2CC9A
accent
#D75192
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #874BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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