#854CC7#854CC7

#854CC7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.185 H 301.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#854CC7
RGBrgb(133, 76, 199)
HSLhsl(268, 52%, 54%)
HSVhsv(268, 62%, 78%)
CMYKcmyk(33.2%, 61.8%, 0%, 22%)
CIE-LABlab(44.63, 48.26, -55.31)
CIE-LCHlch(44.63, 73.41, 311.10°)
OKLaboklab(54.34% 0.0977 -0.1569)
OKLCHoklch(54.34% 0.185 301.9)
XYZxyz(22.5637, 14.2789, 55.5891)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#854CC7 #8EC74C
analogous
#4C51C7 #854CC7 #C34CC7
triadic
#854CC7 #C7854C #4CC785
tetradic
#854CC7 #C74C51 #8EC74C #4CC7C3
square
#854CC7 #C74C51 #8EC74C #4CC7C3
split-complementary
#854CC7 #C7C34C #51C74C
monochromatic
#492474 #6733A3 #854CC7 #A57BD6 #C5A9E4

Accessibility & contrast

On white

5.45
#854CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#854CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #854CC7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##854CC7#FFFFFF#000000##FFFFFF
##854CC71.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#2569C4
Tritanopia (blue-blind)
#786682
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #854cc7;
/* rgb */ color: rgb(133, 76, 199);
/* oklch */ color: oklch(54.3% 0.185 301.9);
Tailwind
colors: {
  custom: {
    50: '#ad81d9',
    500: '#854cc7',
    950: '#000000',
  },
}
SCSS
$custom: #854cc7;
$custom-light: #ad81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#854cc7",
  "rgb": {
    "r": 133,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 267.805,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.18482,
    "h": 301.9
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#854CC7
secondary
#B9D29D
accent
#DC4C99
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83

Preview Lab

Preview with #854CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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