#874ACE#874ACE

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

Color values

HEX#874ACE
RGBrgb(135, 74, 206)
HSLhsl(268, 57%, 55%)
HSVhsv(268, 64%, 81%)
CMYKcmyk(34.5%, 64.1%, 0%, 19.2%)
CIE-LABlab(44.95, 51.46, -58.83)
CIE-LCHlch(44.95, 78.16, 311.18°)
OKLaboklab(54.78% 0.1022 -0.1672)
OKLCHoklch(54.78% 0.196 301.4)
XYZxyz(23.5784, 14.5046, 59.9380)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ACE #91CE4A
analogous
#4A4FCE #874ACE #C94ACE
triadic
#874ACE #CE874A #4ACE87
tetradic
#874ACE #CE4A4F #91CE4A #4ACEC9
square
#874ACE #CE4A4F #91CE4A #4ACEC9
split-complementary
#874ACE #CEC94A #4FCE4A
monochromatic
#4B227C #692FAC #874ACE #A77ADB #C7AAE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##874ACE#FFFFFF#000000##FFFFFF
##874ACE1.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)
#006AD2
Deuteranopia (green-blind)
#146ACB
Tritanopia (blue-blind)
#786785
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874ace;
/* rgb */ color: rgb(135, 74, 206);
/* oklch */ color: oklch(54.8% 0.196 301.4);
Tailwind
colors: {
  custom: {
    50: '#af80de',
    500: '#874ace',
    950: '#000000',
  },
}
SCSS
$custom: #874ace;
$custom-light: #af80de;
$custom-dark: #000000;
JSON
{
  "hex": "#874ace",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 267.727,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54775,
    "c": 0.19592,
    "h": 301.4
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#874ACE
secondary
#BCD69E
accent
#E1479A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #874ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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