#874ACF#874ACF

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

Color values

HEX#874ACF
RGBrgb(135, 74, 207)
HSLhsl(268, 58%, 55%)
HSVhsv(268, 64%, 81%)
CMYKcmyk(34.8%, 64.3%, 0%, 18.8%)
CIE-LABlab(45.02, 51.71, -59.29)
CIE-LCHlch(45.02, 78.67, 311.09°)
OKLaboklab(54.85% 0.1021 -0.1685)
OKLCHoklch(54.85% 0.197 301.2)
XYZxyz(23.7002, 14.5533, 60.5798)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ACF #92CF4A
analogous
#4A4FCF #874ACF #CA4ACF
triadic
#874ACF #CF874A #4ACF87
tetradic
#874ACF #CF4A4F #92CF4A #4ACFCA
square
#874ACF #CF4A4F #92CF4A #4ACFCA
split-complementary
#874ACF #CFCA4A #4FCF4A
monochromatic
#4B217D #692EAE #874ACF #A77ADC #C7ABE9

Accessibility & contrast

On white

5.37
#874ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#874ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ACF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ACF#FFFFFF#000000##FFFFFF
##874ACF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#116ACC
Tritanopia (blue-blind)
#786786
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874acf;
/* rgb */ color: rgb(135, 74, 207);
/* oklch */ color: oklch(54.8% 0.197 301.2);
Tailwind
colors: {
  custom: {
    50: '#af80de',
    500: '#874acf',
    950: '#000000',
  },
}
SCSS
$custom: #874acf;
$custom-light: #af80de;
$custom-dark: #000000;
JSON
{
  "hex": "#874acf",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 267.519,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.19705,
    "h": 301.2
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #874ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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