#816DC6#816DC6

#816DC6 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.3% C 0.133 H 292.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#816DC6
RGBrgb(129, 109, 198)
HSLhsl(253, 44%, 60%)
HSVhsv(253, 45%, 78%)
CMYKcmyk(34.8%, 44.9%, 0%, 22.4%)
CIE-LABlab(51.47, 28.29, -43.82)
CIE-LCHlch(51.47, 52.16, 302.84°)
OKLaboklab(59.3% 0.0503 -0.1234)
OKLCHoklch(59.3% 0.133 292.2)
XYZxyz(24.7123, 19.6811, 55.9120)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DC6 #B2C66D
analogous
#6D86C6 #816DC6 #AD6DC6
triadic
#816DC6 #C6816D #6DC681
tetradic
#816DC6 #C66D86 #B2C66D #6DC6AD
square
#816DC6 #C66D86 #B2C66D #6DC6AD
split-complementary
#816DC6 #C6AD6D #86C66D
monochromatic
#463485 #5D45B1 #816DC6 #A799D7 #CDC5E8

Accessibility & contrast

On white

4.25
#816DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#816DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DC6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DC6#FFFFFF#000000##000000
##816DC61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CC9
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#707E90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #816dc6;
/* rgb */ color: rgb(129, 109, 198);
/* oklch */ color: oklch(59.3% 0.133 292.2);
Tailwind
colors: {
  custom: {
    50: '#a897d8',
    500: '#816dc6',
    950: '#000000',
  },
}
SCSS
$custom: #816dc6;
$custom-light: #a897d8;
$custom-dark: #000000;
JSON
{
  "hex": "#816dc6",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 198
  },
  "hsl": {
    "h": 253.483,
    "s": 43.842,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.13322,
    "h": 292.2
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#816DC6
secondary
#D1D8B6
accent
#B72F98
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #816DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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