#874DD0#874DD0

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

Color values

HEX#874DD0
RGBrgb(135, 77, 208)
HSLhsl(267, 58%, 56%)
HSVhsv(267, 63%, 82%)
CMYKcmyk(35.1%, 63%, 0%, 18.4%)
CIE-LABlab(45.65, 50.41, -58.84)
CIE-LCHlch(45.65, 77.49, 310.59°)
OKLaboklab(55.33% 0.0986 -0.1672)
OKLCHoklch(55.33% 0.194 300.5)
XYZxyz(24.0280, 15.0126, 61.2941)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874DD0 #96D04D
analogous
#4D54D0 #874DD0 #C84DD0
triadic
#874DD0 #D0874D #4DD087
tetradic
#874DD0 #D04D54 #96D04D #4DD0C8
square
#874DD0 #D04D54 #96D04D #4DD0C8
split-complementary
#874DD0 #D0C84D #54D04D
monochromatic
#4C2281 #682FB1 #874DD0 #A87DDD #C8AEEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##874DD0#FFFFFF#000000##FFFFFF
##874DD01.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)
#006CD4
Deuteranopia (green-blind)
#186BCD
Tritanopia (blue-blind)
#776A87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #874dd0;
/* rgb */ color: rgb(135, 77, 208);
/* oklch */ color: oklch(55.3% 0.194 300.5);
Tailwind
colors: {
  custom: {
    50: '#af82df',
    500: '#874dd0',
    950: '#000000',
  },
}
SCSS
$custom: #874dd0;
$custom-light: #af82df;
$custom-dark: #000000;
JSON
{
  "hex": "#874dd0",
  "rgb": {
    "r": 135,
    "g": 77,
    "b": 208
  },
  "hsl": {
    "h": 266.565,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.19414,
    "h": 300.5
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#874DD0
secondary
#C0D8A1
accent
#E1469D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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