#874ADB#874ADB

#874ADB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.210 H 298.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#874ADB
RGBrgb(135, 74, 219)
HSLhsl(265, 67%, 57%)
HSVhsv(265, 66%, 86%)
CMYKcmyk(38.4%, 66.2%, 0%, 14.1%)
CIE-LABlab(45.86, 54.69, -64.81)
CIE-LCHlch(45.86, 84.80, 310.16°)
OKLaboklab(55.72% 0.1008 -0.1847)
OKLCHoklch(55.72% 0.21 298.6)
XYZxyz(25.2234, 15.1626, 68.6019)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ADB #9EDB4A
analogous
#4A56DB #874ADB #CF4ADB
triadic
#874ADB #DB874A #4ADB87
tetradic
#874ADB #DB4A56 #9EDB4A #4ADBCF
square
#874ADB #DB4A56 #9EDB4A #4ADBCF
split-complementary
#874ADB #DBCF4A #56DB4A
monochromatic
#4C1C8E #6826C1 #874ADB #A97DE5 #CBB0EF

Accessibility & contrast

On white

5.21
#874ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#874ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ADB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ADB#FFFFFF#000000##FFFFFF
##874ADB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#736C8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #874adb;
/* rgb */ color: rgb(135, 74, 219);
/* oklch */ color: oklch(55.7% 0.210 298.6);
Tailwind
colors: {
  custom: {
    50: '#b080e7',
    500: '#874adb',
    950: '#000000',
  },
}
SCSS
$custom: #874adb;
$custom-light: #b080e7;
$custom-dark: #000000;
JSON
{
  "hex": "#874adb",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 265.241,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.21047,
    "h": 298.6
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#874ADB
secondary
#C5DEA3
accent
#EA3EA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #874ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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