#874BDC#874BDC

#874BDC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.210 H 298.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#874BDC
RGBrgb(135, 75, 220)
HSLhsl(265, 67%, 58%)
HSVhsv(265, 66%, 86%)
CMYKcmyk(38.6%, 65.9%, 0%, 13.7%)
CIE-LABlab(46.11, 54.44, -64.97)
CIE-LCHlch(46.11, 84.76, 309.96°)
OKLaboklab(55.92% 0.0997 -0.1852)
OKLCHoklch(55.92% 0.21 298.3)
XYZxyz(25.4227, 15.3500, 69.3197)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874BDC #A0DC4B
analogous
#4B57DC #874BDC #D04BDC
triadic
#874BDC #DC874B #4BDC87
tetradic
#874BDC #DC4B57 #A0DC4B #4BDCD0
square
#874BDC #DC4B57 #A0DC4B #4BDCD0
split-complementary
#874BDC #DCD04B #57DC4B
monochromatic
#4C1C91 #6726C4 #874BDC #A97EE6 #CBB1F0

Accessibility & contrast

On white

5.16
#874BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#874BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874BDC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874BDC#FFFFFF#000000##FFFFFF
##874BDC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#736D8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #874bdc;
/* rgb */ color: rgb(135, 75, 220);
/* oklch */ color: oklch(55.9% 0.210 298.3);
Tailwind
colors: {
  custom: {
    50: '#b081e8',
    500: '#874bdc',
    950: '#000000',
  },
}
SCSS
$custom: #874bdc;
$custom-light: #b081e8;
$custom-dark: #000000;
JSON
{
  "hex": "#874bdc",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 264.828,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.21033,
    "h": 298.3
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#874BDC
secondary
#C6DEA4
accent
#EA3DA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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