#874BCD#874BCD

#874BCD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.193 H 301.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#874BCD
RGBrgb(135, 75, 205)
HSLhsl(268, 57%, 55%)
HSVhsv(268, 63%, 80%)
CMYKcmyk(34.1%, 63.4%, 0%, 19.6%)
CIE-LABlab(45.07, 50.70, -58.06)
CIE-LCHlch(45.07, 77.08, 311.13°)
OKLaboklab(54.84% 0.1011 -0.1649)
OKLCHoklch(54.84% 0.193 301.5)
XYZxyz(23.5246, 14.5907, 59.3227)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BCD #91CD4B
analogous
#4B50CD #874BCD #C84BCD
triadic
#874BCD #CD874B #4BCD87
tetradic
#874BCD #CD4B50 #91CD4B #4BCDC8
square
#874BCD #CD4B50 #91CD4B #4BCDC8
split-complementary
#874BCD #CDC84B #50CD4B
monochromatic
#4B227B #6930AB #874BCD #A77BDA #C7ABE8

Accessibility & contrast

On white

5.36
#874BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#874BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BCD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BCD#FFFFFF#000000##FFFFFF
##874BCD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#1A6ACA
Tritanopia (blue-blind)
#796785
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #874bcd;
/* rgb */ color: rgb(135, 75, 205);
/* oklch */ color: oklch(54.8% 0.193 301.5);
Tailwind
colors: {
  custom: {
    50: '#af81dd',
    500: '#874bcd',
    950: '#000000',
  },
}
SCSS
$custom: #874bcd;
$custom-light: #af81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#874bcd",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 267.692,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.19345,
    "h": 301.5
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#874BCD
secondary
#BCD59F
accent
#E0489A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #874BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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