#816FC8#816FC8

#816FC8 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.8% C 0.133 H 291.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#816FC8
RGBrgb(129, 111, 200)
HSLhsl(252, 45%, 61%)
HSVhsv(252, 45%, 78%)
CMYKcmyk(35.5%, 44.5%, 0%, 21.6%)
CIE-LABlab(52.07, 27.64, -44.02)
CIE-LCHlch(52.07, 51.98, 302.12°)
OKLaboklab(59.78% 0.0479 -0.1239)
OKLCHoklch(59.78% 0.133 291.1)
XYZxyz(25.1603, 20.2055, 57.2068)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FC8 #B6C86F
analogous
#6F89C8 #816FC8 #AD6FC8
triadic
#816FC8 #C8816F #6FC881
tetradic
#816FC8 #C86F89 #B6C86F #6FC8AD
square
#816FC8 #C86F89 #B6C86F #6FC8AD
split-complementary
#816FC8 #C8AD6F #89C86F
monochromatic
#453488 #5C45B5 #816FC8 #A89BD9 #CEC8EA

Accessibility & contrast

On white

4.17
#816FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#816FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FC8#FFFFFF#000000##000000
##816FC81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECB
Deuteranopia (green-blind)
#537AC6
Tritanopia (blue-blind)
#6F8092
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #816fc8;
/* rgb */ color: rgb(129, 111, 200);
/* oklch */ color: oklch(59.8% 0.133 291.1);
Tailwind
colors: {
  custom: {
    50: '#a898d9',
    500: '#816fc8',
    950: '#000000',
  },
}
SCSS
$custom: #816fc8;
$custom-light: #a898d9;
$custom-dark: #000000;
JSON
{
  "hex": "#816fc8",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 252.135,
    "s": 44.724,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.13289,
    "h": 291.1
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#816FC8
secondary
#D3DAB9
accent
#B82E9C
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #816FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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