#816DC2#816DC2

#816DC2 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.1% C 0.128 H 292.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#816DC2
RGBrgb(129, 109, 194)
HSLhsl(254, 41%, 59%)
HSVhsv(254, 44%, 76%)
CMYKcmyk(33.5%, 43.8%, 0%, 23.9%)
CIE-LABlab(51.27, 27.21, -41.86)
CIE-LCHlch(51.27, 49.93, 303.03°)
OKLaboklab(59.08% 0.0497 -0.1176)
OKLCHoklch(59.08% 0.128 292.9)
XYZxyz(24.2570, 19.4990, 53.5141)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DC2 #AEC26D
analogous
#6D84C2 #816DC2 #AC6DC2
triadic
#816DC2 #C2816D #6DC281
tetradic
#816DC2 #C26D84 #AEC26D #6DC2AC
square
#816DC2 #C26D84 #AEC26D #6DC2AC
split-complementary
#816DC2 #C2AC6D #84C26D
monochromatic
#47357F #5F47AB #816DC2 #A698D4 #CCC3E6

Accessibility & contrast

On white

4.29
#816DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#816DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DC2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DC2#FFFFFF#000000##000000
##816DC21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC5
Deuteranopia (green-blind)
#5479C0
Tritanopia (blue-blind)
#727D8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #816dc2;
/* rgb */ color: rgb(129, 109, 194);
/* oklch */ color: oklch(59.1% 0.128 292.9);
Tailwind
colors: {
  custom: {
    50: '#a897d5',
    500: '#816dc2',
    950: '#000000',
  },
}
SCSS
$custom: #816dc2;
$custom-light: #a897d5;
$custom-dark: #000000;
JSON
{
  "hex": "#816dc2",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 254.118,
    "s": 41.063,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.12769,
    "h": 292.9
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#816DC2
secondary
#CED6B5
accent
#D157B4
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #816DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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