#874FBF#874FBF

#874FBF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.172 H 304.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#874FBF
RGBrgb(135, 79, 191)
HSLhsl(270, 47%, 53%)
HSVhsv(270, 59%, 75%)
CMYKcmyk(29.3%, 58.6%, 0%, 25.1%)
CIE-LABlab(44.95, 45.17, -50.15)
CIE-LCHlch(44.95, 67.49, 312.01°)
OKLaboklab(54.46% 0.0969 -0.1417)
OKLCHoklch(54.46% 0.172 304.4)
XYZxyz(22.1895, 14.5045, 50.9108)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FBF #87BF4F
analogous
#4F4FBF #874FBF #BF4FBF
triadic
#874FBF #BF874F #4FBF87
tetradic
#874FBF #BF4F4F #87BF4F #4FBFBF
square
#874FBF #BF4F4F #87BF4F #4FBFBF
split-complementary
#874FBF #BFBF4F #4FBF4F
monochromatic
#4A276C #683899 #874FBF #A67CCF #C4A9E0

Accessibility & contrast

On white

5.38
#874FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#874FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FBF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FBF#FFFFFF#000000##FFFFFF
##874FBF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#7D657F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874fbf;
/* rgb */ color: rgb(135, 79, 191);
/* oklch */ color: oklch(54.5% 0.172 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad83d3',
    500: '#874fbf',
    950: '#000000',
  },
}
SCSS
$custom: #874fbf;
$custom-light: #ad83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#874fbf",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.17163,
    "h": 304.4
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#874FBF
secondary
#B5CD9D
accent
#D65194
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #874FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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