#874FE3#874FE3

#874FE3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.213 H 296.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#874FE3
RGBrgb(135, 79, 227)
HSLhsl(263, 73%, 60%)
HSVhsv(263, 65%, 89%)
CMYKcmyk(40.5%, 65.2%, 0%, 11%)
CIE-LABlab(47.35, 54.19, -66.93)
CIE-LCHlch(47.35, 86.12, 309.00°)
OKLaboklab(56.97% 0.0947 -0.191)
OKLCHoklch(56.97% 0.213 296.4)
XYZxyz(26.6492, 16.2884, 74.3981)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874FE3 #ABE34F
analogous
#4F61E3 #874FE3 #D14FE3
triadic
#874FE3 #E3874F #4FE387
tetradic
#874FE3 #E34F61 #ABE34F #4FE3D1
square
#874FE3 #E34F61 #ABE34F #4FE3D1
split-complementary
#874FE3 #E3D14F #61E34F
monochromatic
#4C199E #6522D3 #874FE3 #AB84EB #CFB9F4

Accessibility & contrast

On white

4.93
#874FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#874FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874FE3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874FE3#FFFFFF#000000##FFFFFF
##874FE31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#707292
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #874fe3;
/* rgb */ color: rgb(135, 79, 227);
/* oklch */ color: oklch(57.0% 0.213 296.4);
Tailwind
colors: {
  custom: {
    50: '#b084ed',
    500: '#874fe3',
    950: '#000000',
  },
}
SCSS
$custom: #874fe3;
$custom-light: #b084ed;
$custom-dark: #000000;
JSON
{
  "hex": "#874fe3",
  "rgb": {
    "r": 135,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 262.703,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.21317,
    "h": 296.4
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#874FE3
secondary
#CEE3AA
accent
#EF39AA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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