#874FD0#874FD0

#874FD0 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.191 H 300.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#874FD0
RGBrgb(135, 79, 208)
HSLhsl(266, 58%, 56%)
HSVhsv(266, 62%, 82%)
CMYKcmyk(35.1%, 62%, 0%, 18.4%)
CIE-LABlab(46.04, 49.37, -58.22)
CIE-LCHlch(46.04, 76.33, 310.30°)
OKLaboklab(55.61% 0.0963 -0.1654)
OKLCHoklch(55.61% 0.191 300.2)
XYZxyz(24.1701, 15.2967, 61.3415)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FD0 #98D04F
analogous
#4F58D0 #874FD0 #C84FD0
triadic
#874FD0 #D0874F #4FD087
tetradic
#874FD0 #D04F58 #98D04F #4FD0C8
square
#874FD0 #D04F58 #98D04F #4FD0C8
split-complementary
#874FD0 #D0C84F #58D04F
monochromatic
#4C2382 #6830B2 #874FD0 #A87FDD #C9B0EA

Accessibility & contrast

On white

5.17
#874FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#874FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FD0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FD0#FFFFFF#000000##FFFFFF
##874FD01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#1D6CCD
Tritanopia (blue-blind)
#776B88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #874fd0;
/* rgb */ color: rgb(135, 79, 208);
/* oklch */ color: oklch(55.6% 0.191 300.2);
Tailwind
colors: {
  custom: {
    50: '#af83df',
    500: '#874fd0',
    950: '#000000',
  },
}
SCSS
$custom: #874fd0;
$custom-light: #af83df;
$custom-dark: #000000;
JSON
{
  "hex": "#874fd0",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 266.047,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.1914,
    "h": 300.2
  },
  "luminance": 0.15297
}

Semantic roles & 50–950 ramp

primary
#874FD0
secondary
#C1D8A3
accent
#E1479E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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