#814FC2#814FC2

#814FC2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.174 H 300.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#814FC2
RGBrgb(129, 79, 194)
HSLhsl(266, 49%, 54%)
HSVhsv(266, 59%, 76%)
CMYKcmyk(33.5%, 59.3%, 0%, 23.9%)
CIE-LABlab(44.45, 44.48, -52.72)
CIE-LCHlch(44.45, 68.98, 310.15°)
OKLaboklab(54.01% 0.0889 -0.1494)
OKLCHoklch(54.01% 0.174 300.8)
XYZxyz(21.5845, 14.1540, 52.6233)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814FC2 #90C24F
analogous
#4F56C2 #814FC2 #BA4FC2
triadic
#814FC2 #C2814F #4FC281
tetradic
#814FC2 #C24F56 #90C24F #4FC2BA
square
#814FC2 #C24F56 #90C24F #4FC2BA
split-complementary
#814FC2 #C2BA4F #56C24F
monochromatic
#472770 #63379D #814FC2 #A27CD2 #C2AAE2

Accessibility & contrast

On white

5.48
#814FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#814FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814FC2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814FC2#FFFFFF#000000##FFFFFF
##814FC21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1069C6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#746781
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #814fc2;
/* rgb */ color: rgb(129, 79, 194);
/* oklch */ color: oklch(54.0% 0.174 300.8);
Tailwind
colors: {
  custom: {
    50: '#aa82d5',
    500: '#814fc2',
    950: '#000000',
  },
}
SCSS
$custom: #814fc2;
$custom-light: #aa82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#814fc2",
  "rgb": {
    "r": 129,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 266.087,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.17389,
    "h": 300.8
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#814FC2
secondary
#BACF9E
accent
#D8509D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #814FC2

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

Preview Lab → · Contrast checker → · Palette generator →

#814FC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva