#874FDE#874FDE

#874FDE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.207 H 297.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#874FDE
RGBrgb(135, 79, 222)
HSLhsl(263, 68%, 59%)
HSVhsv(263, 64%, 87%)
CMYKcmyk(39.2%, 64.4%, 0%, 12.9%)
CIE-LABlab(47.00, 52.91, -64.67)
CIE-LCHlch(47.00, 83.56, 309.29°)
OKLaboklab(56.6% 0.0952 -0.1844)
OKLCHoklch(56.6% 0.207 297.3)
XYZxyz(25.9691, 16.0164, 70.8163)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FDE #A6DE4F
analogous
#4F5FDE #874FDE #CF4FDE
triadic
#874FDE #DE874F #4FDE87
tetradic
#874FDE #DE4F5F #A6DE4F #4FDECF
square
#874FDE #DE4F5F #A6DE4F #4FDECF
split-complementary
#874FDE #DECF4F #5FDE4F
monochromatic
#4C1C96 #6626CA #874FDE #AA83E8 #CDB6F1

Accessibility & contrast

On white

5.00
#874FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#874FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FDE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FDE#FFFFFF#000000##FFFFFF
##874FDE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#727090
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #874fde;
/* rgb */ color: rgb(135, 79, 222);
/* oklch */ color: oklch(56.6% 0.207 297.3);
Tailwind
colors: {
  custom: {
    50: '#b083e9',
    500: '#874fde',
    950: '#000000',
  },
}
SCSS
$custom: #874fde;
$custom-light: #b083e9;
$custom-dark: #000000;
JSON
{
  "hex": "#874fde",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 263.497,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.20748,
    "h": 297.3
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#874FDE
secondary
#CAE0A8
accent
#EB3DA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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