#874BC8#874BC8

#874BC8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.188 H 302.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#874BC8
RGBrgb(135, 75, 200)
HSLhsl(269, 53%, 54%)
HSVhsv(269, 63%, 78%)
CMYKcmyk(32.5%, 62.5%, 0%, 21.6%)
CIE-LABlab(44.74, 49.47, -55.71)
CIE-LCHlch(44.74, 74.51, 311.61°)
OKLaboklab(54.49% 0.1015 -0.158)
OKLCHoklch(54.49% 0.188 302.7)
XYZxyz(22.9307, 14.3532, 56.1948)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BC8 #8CC84B
analogous
#4B4EC8 #874BC8 #C54BC8
triadic
#874BC8 #C8874B #4BC887
tetradic
#874BC8 #C84B4E #8CC84B #4BC8C5
square
#874BC8 #C84B4E #8CC84B #4BC8C5
split-complementary
#874BC8 #C8C54B #4EC84B
monochromatic
#4B2475 #6932A4 #874BC8 #A67AD6 #C6A9E5

Accessibility & contrast

On white

5.43
#874BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#874BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BC8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BC8#FFFFFF#000000##FFFFFF
##874BC81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#2469C5
Tritanopia (blue-blind)
#7A6683
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874bc8;
/* rgb */ color: rgb(135, 75, 200);
/* oklch */ color: oklch(54.5% 0.188 302.7);
Tailwind
colors: {
  custom: {
    50: '#ae80d9',
    500: '#874bc8',
    950: '#000000',
  },
}
SCSS
$custom: #874bc8;
$custom-light: #ae80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#874bc8",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 268.8,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.18777,
    "h": 302.7
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#874BC8
secondary
#B8D29D
accent
#DD4B97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #874BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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