#874DE0#874DE0

#874DE0 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.212 H 297.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#874DE0
RGBrgb(135, 77, 224)
HSLhsl(264, 70%, 59%)
HSVhsv(264, 66%, 88%)
CMYKcmyk(39.7%, 65.6%, 0%, 12.2%)
CIE-LABlab(46.76, 54.44, -66.18)
CIE-LCHlch(46.76, 85.70, 309.44°)
OKLaboklab(56.48% 0.0971 -0.1888)
OKLCHoklch(56.48% 0.212 297.2)
XYZxyz(26.0966, 15.8400, 72.1891)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DE0 #A6E04D
analogous
#4D5DE0 #874DE0 #D04DE0
triadic
#874DE0 #E0874D #4DE087
tetradic
#874DE0 #E04D5D #A6E04D #4DE0D0
square
#874DE0 #E04D5D #A6E04D #4DE0D0
split-complementary
#874DE0 #E0D04D #5DE04D
monochromatic
#4C1A98 #6624CC #874DE0 #AA81E9 #CDB5F2

Accessibility & contrast

On white

5.04
#874DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#874DE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874DE0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874DE0#FFFFFF#000000##FFFFFF
##874DE01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#716F90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #874de0;
/* rgb */ color: rgb(135, 77, 224);
/* oklch */ color: oklch(56.5% 0.212 297.2);
Tailwind
colors: {
  custom: {
    50: '#b082eb',
    500: '#874de0',
    950: '#000000',
  },
}
SCSS
$custom: #874de0;
$custom-light: #b082eb;
$custom-dark: #000000;
JSON
{
  "hex": "#874de0",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 263.673,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.2123,
    "h": 297.2
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#874DE0
secondary
#CAE1A8
accent
#ED3BA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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