#874FDF#874FDF

#874FDF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.209 H 297.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#874FDF
RGBrgb(135, 79, 223)
HSLhsl(263, 69%, 59%)
HSVhsv(263, 65%, 87%)
CMYKcmyk(39.5%, 64.6%, 0%, 12.5%)
CIE-LABlab(47.07, 53.17, -65.12)
CIE-LCHlch(47.07, 84.07, 309.23°)
OKLaboklab(56.68% 0.0951 -0.1857)
OKLCHoklch(56.68% 0.209 297.1)
XYZxyz(26.1035, 16.0701, 71.5243)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FDF #A7DF4F
analogous
#4F5FDF #874FDF #CF4FDF
triadic
#874FDF #DF874F #4FDF87
tetradic
#874FDF #DF4F5F #A7DF4F #4FDFCF
square
#874FDF #DF4F5F #A7DF4F #4FDFCF
split-complementary
#874FDF #DFCF4F #5FDF4F
monochromatic
#4C1C98 #6625CC #874FDF #AA83E8 #CEB7F2

Accessibility & contrast

On white

4.98
#874FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#874FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FDF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FDF#FFFFFF#000000##FFFFFF
##874FDF1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#717090
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #874fdf;
/* rgb */ color: rgb(135, 79, 223);
/* oklch */ color: oklch(56.7% 0.209 297.1);
Tailwind
colors: {
  custom: {
    50: '#b083ea',
    500: '#874fdf',
    950: '#000000',
  },
}
SCSS
$custom: #874fdf;
$custom-light: #b083ea;
$custom-dark: #000000;
JSON
{
  "hex": "#874fdf",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 263.333,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56676,
    "c": 0.20863,
    "h": 297.1
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#874FDF
secondary
#CBE1A9
accent
#EC3CA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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