#874FD3#874FD3

#874FD3 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.195 H 299.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#874FD3
RGBrgb(135, 79, 211)
HSLhsl(265, 60%, 57%)
HSVhsv(265, 63%, 83%)
CMYKcmyk(36%, 62.6%, 0%, 17.3%)
CIE-LABlab(46.24, 50.12, -59.62)
CIE-LCHlch(46.24, 77.89, 310.06°)
OKLaboklab(55.82% 0.0961 -0.1695)
OKLCHoklch(55.82% 0.195 299.6)
XYZxyz(24.5426, 15.4458, 63.3037)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FD3 #9BD34F
analogous
#4F59D3 #874FD3 #C94FD3
triadic
#874FD3 #D3874F #4FD387
tetradic
#874FD3 #D34F59 #9BD34F #4FD3C9
square
#874FD3 #D34F59 #9BD34F #4FD3C9
split-complementary
#874FD3 #D3C94F #59D34F
monochromatic
#4C2286 #682EB7 #874FD3 #A880DF #CAB1EB

Accessibility & contrast

On white

5.14
#874FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#874FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FD3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FD3#FFFFFF#000000##FFFFFF
##874FD31.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#166CD0
Tritanopia (blue-blind)
#766C8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #874fd3;
/* rgb */ color: rgb(135, 79, 211);
/* oklch */ color: oklch(55.8% 0.195 299.6);
Tailwind
colors: {
  custom: {
    50: '#af83e1',
    500: '#874fd3',
    950: '#000000',
  },
}
SCSS
$custom: #874fd3;
$custom-light: #af83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#874fd3",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 265.455,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.19486,
    "h": 299.6
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#874FD3
secondary
#C3DAA4
accent
#E345A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #874FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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