#874FDA#874FDA

#874FDA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.203 H 298.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#874FDA
RGBrgb(135, 79, 218)
HSLhsl(264, 65%, 58%)
HSVhsv(264, 64%, 85%)
CMYKcmyk(38.1%, 63.8%, 0%, 14.5%)
CIE-LABlab(46.72, 51.89, -62.84)
CIE-LCHlch(46.72, 81.50, 309.55°)
OKLaboklab(56.31% 0.0956 -0.179)
OKLCHoklch(56.31% 0.203 298.1)
XYZxyz(25.4393, 15.8045, 68.0264)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FDA #A2DA4F
analogous
#4F5CDA #874FDA #CD4FDA
triadic
#874FDA #DA874F #4FDA87
tetradic
#874FDA #DA4F5C #A2DA4F #4FDACD
square
#874FDA #DA4F5C #A2DA4F #4FDACD
split-complementary
#874FDA #DACD4F #5CDA4F
monochromatic
#4C1E90 #6729C3 #874FDA #A982E5 #CCB4EF

Accessibility & contrast

On white

5.05
#874FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#874FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FDA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FDA#FFFFFF#000000##FFFFFF
##874FDA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#736E8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #874fda;
/* rgb */ color: rgb(135, 79, 218);
/* oklch */ color: oklch(56.3% 0.203 298.1);
Tailwind
colors: {
  custom: {
    50: '#b083e6',
    500: '#874fda',
    950: '#000000',
  },
}
SCSS
$custom: #874fda;
$custom-light: #b083e6;
$custom-dark: #000000;
JSON
{
  "hex": "#874fda",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 264.173,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56313,
    "c": 0.2029,
    "h": 298.1
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#874FDA
secondary
#C8DEA7
accent
#E840A4
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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