#874BCF#874BCF

#874BCF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.196 H 301.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#874BCF
RGBrgb(135, 75, 207)
HSLhsl(267, 58%, 55%)
HSVhsv(267, 64%, 81%)
CMYKcmyk(34.8%, 63.8%, 0%, 18.8%)
CIE-LABlab(45.20, 51.20, -58.99)
CIE-LCHlch(45.20, 78.11, 310.95°)
OKLaboklab(54.98% 0.101 -0.1676)
OKLCHoklch(54.98% 0.196 301.1)
XYZxyz(23.7675, 14.6879, 60.6023)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BCF #93CF4B
analogous
#4B51CF #874BCF #C94BCF
triadic
#874BCF #CF874B #4BCF87
tetradic
#874BCF #CF4B51 #93CF4B #4BCFC9
square
#874BCF #CF4B51 #93CF4B #4BCFC9
split-complementary
#874BCF #CFC94B #51CF4B
monochromatic
#4C227E #692EAE #874BCF #A77BDC #C7ACE9

Accessibility & contrast

On white

5.33
#874BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#874BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BCF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BCF#FFFFFF#000000##FFFFFF
##874BCF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#156ACC
Tritanopia (blue-blind)
#786886
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #874bcf;
/* rgb */ color: rgb(135, 75, 207);
/* oklch */ color: oklch(55.0% 0.196 301.1);
Tailwind
colors: {
  custom: {
    50: '#af81de',
    500: '#874bcf',
    950: '#000000',
  },
}
SCSS
$custom: #874bcf;
$custom-light: #af81de;
$custom-dark: #000000;
JSON
{
  "hex": "#874bcf",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 267.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.19571,
    "h": 301.1
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #874BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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