#874FDD#874FDD

#874FDD is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.206 H 297.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#874FDD
RGBrgb(135, 79, 221)
HSLhsl(264, 68%, 59%)
HSVhsv(264, 64%, 87%)
CMYKcmyk(38.9%, 64.3%, 0%, 13.3%)
CIE-LABlab(46.93, 52.66, -64.21)
CIE-LCHlch(46.93, 83.04, 309.35°)
OKLaboklab(56.53% 0.0953 -0.183)
OKLCHoklch(56.53% 0.206 297.5)
XYZxyz(25.8355, 15.9629, 70.1126)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FDD #A5DD4F
analogous
#4F5EDD #874FDD #CE4FDD
triadic
#874FDD #DD874F #4FDD87
tetradic
#874FDD #DD4F5E #A5DD4F #4FDDCE
square
#874FDD #DD4F5E #A5DD4F #4FDDCE
split-complementary
#874FDD #DDCE4F #5EDD4F
monochromatic
#4C1D95 #6627C8 #874FDD #AA82E7 #CDB6F1

Accessibility & contrast

On white

5.01
#874FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#874FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FDD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FDD#FFFFFF#000000##FFFFFF
##874FDD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#72708F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #874fdd;
/* rgb */ color: rgb(135, 79, 221);
/* oklch */ color: oklch(56.5% 0.206 297.5);
Tailwind
colors: {
  custom: {
    50: '#b083e8',
    500: '#874fdd',
    950: '#000000',
  },
}
SCSS
$custom: #874fdd;
$custom-light: #b083e8;
$custom-dark: #000000;
JSON
{
  "hex": "#874fdd",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 263.662,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.20634,
    "h": 297.5
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#874FDD
secondary
#CAE0A8
accent
#EA3DA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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