#874DBF#874DBF

#874DBF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.175 H 304.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#874DBF
RGBrgb(135, 77, 191)
HSLhsl(271, 47%, 53%)
HSVhsv(271, 60%, 75%)
CMYKcmyk(29.3%, 59.7%, 0%, 25.1%)
CIE-LABlab(44.55, 46.24, -50.79)
CIE-LCHlch(44.55, 68.68, 312.31°)
OKLaboklab(54.17% 0.0994 -0.1436)
OKLCHoklch(54.17% 0.175 304.7)
XYZxyz(22.0475, 14.2203, 50.8634)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DBF #85BF4D
analogous
#4E4DBF #874DBF #BF4DBE
triadic
#874DBF #BF874D #4DBF87
tetradic
#874DBF #BF4E4D #85BF4D #4DBEBF
square
#874DBF #BF4E4D #85BF4D #4DBEBF
split-complementary
#874DBF #BEBF4D #4DBF4E
monochromatic
#49276B #683798 #874DBF #A57ACF #C4A7DF

Accessibility & contrast

On white

5.46
#874DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#874DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874DBF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874DBF#FFFFFF#000000##FFFFFF
##874DBF1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#7D647F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #874dbf;
/* rgb */ color: rgb(135, 77, 191);
/* oklch */ color: oklch(54.2% 0.175 304.7);
Tailwind
colors: {
  custom: {
    50: '#ad81d3',
    500: '#874dbf',
    950: '#000000',
  },
}
SCSS
$custom: #874dbf;
$custom-light: #ad81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#874dbf",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 270.526,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.1746,
    "h": 304.7
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#874DBF
secondary
#B3CD9B
accent
#D75193
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #874DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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