#816EA2#816EA2

#816EA2 is a mid, moderate violet. Relative luminance 0.184; OKLCH L 57.6% C 0.081 H 300.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#816EA2
RGBrgb(129, 110, 162)
HSLhsl(262, 22%, 53%)
HSVhsv(262, 32%, 64%)
CMYKcmyk(20.4%, 32.1%, 0%, 36.5%)
CIE-LABlab(50.01, 18.46, -25.27)
CIE-LCHlch(50.01, 31.29, 306.14°)
OKLaboklab(57.63% 0.0413 -0.0697)
OKLCHoklch(57.63% 0.081 300.7)
XYZxyz(21.1494, 18.4276, 36.6181)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EA2 #8FA26E
analogous
#6E75A2 #816EA2 #9B6EA2
triadic
#816EA2 #A2816E #6EA281
tetradic
#816EA2 #A26E75 #8FA26E #6EA29B
square
#816EA2 #A26E75 #8FA26E #6EA29B
split-complementary
#816EA2 #A29B6E #75A26E
monochromatic
#463A5B #635280 #816EA2 #A193BA #C2B9D2

Accessibility & contrast

On white

4.48
#816EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#816EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EA2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EA2#FFFFFF#000000##000000
##816EA21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#7B7681
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #816ea2;
/* rgb */ color: rgb(129, 110, 162);
/* oklch */ color: oklch(57.6% 0.081 300.7);
Tailwind
colors: {
  custom: {
    50: '#a697bd',
    500: '#816ea2',
    950: '#000000',
  },
}
SCSS
$custom: #816ea2;
$custom-light: #a697bd;
$custom-dark: #000000;
JSON
{
  "hex": "#816ea2",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 261.923,
    "s": 21.849,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.08105,
    "h": 300.7
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#816EA2
secondary
#B9C1AB
accent
#BE699F
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #816EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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