#874FCA#874FCA

#874FCA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.184 H 301.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#874FCA
RGBrgb(135, 79, 202)
HSLhsl(267, 54%, 55%)
HSVhsv(267, 61%, 79%)
CMYKcmyk(33.2%, 60.9%, 0%, 20.8%)
CIE-LABlab(45.64, 47.87, -55.40)
CIE-LCHlch(45.64, 73.22, 310.83°)
OKLaboklab(55.2% 0.0966 -0.1571)
OKLCHoklch(55.2% 0.184 301.6)
XYZxyz(23.4458, 15.0070, 57.5271)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FCA #92CA4F
analogous
#4F54CA #874FCA #C54FCA
triadic
#874FCA #CA874F #4FCA87
tetradic
#874FCA #CA4F54 #92CA4F #4FCAC5
square
#874FCA #CA4F54 #92CA4F #4FCAC5
split-complementary
#874FCA #CAC54F #54CA4F
monochromatic
#4B257A #6933A9 #874FCA #A77ED8 #C7ADE6

Accessibility & contrast

On white

5.25
#874FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#874FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FCA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FCA#FFFFFF#000000##FFFFFF
##874FCA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#796985
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #874fca;
/* rgb */ color: rgb(135, 79, 202);
/* oklch */ color: oklch(55.2% 0.184 301.6);
Tailwind
colors: {
  custom: {
    50: '#ae83db',
    500: '#874fca',
    950: '#000000',
  },
}
SCSS
$custom: #874fca;
$custom-light: #ae83db;
$custom-dark: #000000;
JSON
{
  "hex": "#874fca",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 267.317,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.18445,
    "h": 301.6
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#874FCA
secondary
#BDD4A1
accent
#DD4B9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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