#814FBA#814FBA

#814FBA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.164 H 302.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#814FBA
RGBrgb(129, 79, 186)
HSLhsl(268, 44%, 52%)
HSVhsv(268, 58%, 73%)
CMYKcmyk(30.6%, 57.5%, 0%, 27.1%)
CIE-LABlab(43.95, 42.47, -48.87)
CIE-LCHlch(43.95, 64.74, 310.99°)
OKLaboklab(53.48% 0.089 -0.1381)
OKLCHoklch(53.48% 0.164 302.8)
XYZxyz(20.7102, 13.8043, 48.0183)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814FBA #88BA4F
analogous
#4F53BA #814FBA #B64FBA
triadic
#814FBA #BA814F #4FBA81
tetradic
#814FBA #BA4F53 #88BA4F #4FBAB6
square
#814FBA #BA4F53 #88BA4F #4FBAB6
split-complementary
#814FBA #BAB64F #53BA4F
monochromatic
#452866 #633992 #814FBA #A07BCB #C0A7DC

Accessibility & contrast

On white

5.58
#814FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#814FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814FBA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814FBA#FFFFFF#000000##FFFFFF
##814FBA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#76647D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #814fba;
/* rgb */ color: rgb(129, 79, 186);
/* oklch */ color: oklch(53.5% 0.164 302.8);
Tailwind
colors: {
  custom: {
    50: '#a982cf',
    500: '#814fba',
    950: '#000000',
  },
}
SCSS
$custom: #814fba;
$custom-light: #a982cf;
$custom-dark: #000000;
JSON
{
  "hex": "#814fba",
  "rgb": {
    "r": 129,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 268.037,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.16429,
    "h": 302.8
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#814FBA
secondary
#B4CA9B
accent
#D35498
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #814FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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