#854EC6#854EC6

#854EC6 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.181 H 301.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#854EC6
RGBrgb(133, 78, 198)
HSLhsl(268, 51%, 54%)
HSVhsv(268, 61%, 78%)
CMYKcmyk(32.8%, 60.6%, 0%, 22.4%)
CIE-LABlab(44.96, 46.95, -54.20)
CIE-LCHlch(44.96, 71.71, 310.90°)
OKLaboklab(54.56% 0.0953 -0.1536)
OKLCHoklch(54.56% 0.181 301.8)
XYZxyz(22.5879, 14.5125, 55.0263)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#854EC6 #8FC64E
analogous
#4E53C6 #854EC6 #C14EC6
triadic
#854EC6 #C6854E #4EC685
tetradic
#854EC6 #C64E53 #8FC64E #4EC6C1
square
#854EC6 #C64E53 #8FC64E #4EC6C1
split-complementary
#854EC6 #C6C14E #53C64E
monochromatic
#4A2574 #6734A2 #854EC6 #A57CD5 #C5ABE4

Accessibility & contrast

On white

5.38
#854EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#854EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #854EC6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##854EC6#FFFFFF#000000##FFFFFF
##854EC61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016ACA
Deuteranopia (green-blind)
#2A6AC3
Tritanopia (blue-blind)
#786783
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #854ec6;
/* rgb */ color: rgb(133, 78, 198);
/* oklch */ color: oklch(54.6% 0.181 301.8);
Tailwind
colors: {
  custom: {
    50: '#ad82d8',
    500: '#854ec6',
    950: '#000000',
  },
}
SCSS
$custom: #854ec6;
$custom-light: #ad82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#854ec6",
  "rgb": {
    "r": 133,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 267.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.18082,
    "h": 301.8
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#854EC6
secondary
#BAD19E
accent
#DB4D9A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #854EC6

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

Preview Lab → · Contrast checker → · Palette generator →

#854EC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva