#854EA2#854EA2

#854EA2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.139 H 312.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#854EA2
RGBrgb(133, 78, 162)
HSLhsl(279, 35%, 47%)
HSVhsv(279, 52%, 64%)
CMYKcmyk(17.9%, 51.9%, 0%, 36.5%)
CIE-LABlab(42.83, 38.35, -36.48)
CIE-LCHlch(42.83, 52.93, 316.44°)
OKLaboklab(52.31% 0.0941 -0.1018)
OKLCHoklch(52.31% 0.139 312.8)
XYZxyz(18.9177, 13.0444, 35.6967)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#854EA2 #6BA24E
analogous
#5B4EA2 #854EA2 #A24E95
triadic
#854EA2 #A2854E #4EA285
tetradic
#854EA2 #A25B4E #6BA24E #4E95A2
square
#854EA2 #A25B4E #6BA24E #4E95A2
split-complementary
#854EA2 #95A24E #4EA25B
monochromatic
#41264F #633A79 #854EA2 #A272BB #BD9BCF

Accessibility & contrast

On white

5.82
#854EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#854EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #854EA2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##854EA2#FFFFFF#000000##FFFFFF
##854EA21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#825C71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #854ea2;
/* rgb */ color: rgb(133, 78, 162);
/* oklch */ color: oklch(52.3% 0.139 312.8);
Tailwind
colors: {
  custom: {
    50: '#aa81be',
    500: '#854ea2',
    950: '#000000',
  },
}
SCSS
$custom: #854ea2;
$custom-light: #aa81be;
$custom-dark: #000000;
JSON
{
  "hex": "#854ea2",
  "rgb": {
    "r": 133,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 279.286,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52314,
    "c": 0.13863,
    "h": 312.8
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#854EA2
secondary
#9FBC90
accent
#CB5D83
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #854EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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