#816FB2#816FB2

#816FB2 is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.6% C 0.102 H 295.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#816FB2
RGBrgb(129, 111, 178)
HSLhsl(256, 30%, 57%)
HSVhsv(256, 38%, 70%)
CMYKcmyk(27.5%, 37.6%, 0%, 30.2%)
CIE-LABlab(50.98, 21.84, -33.08)
CIE-LCHlch(50.98, 39.64, 303.44°)
OKLaboklab(58.6% 0.0438 -0.0922)
OKLCHoklch(58.6% 0.102 295.4)
XYZxyz(22.7717, 19.2501, 44.6268)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FB2 #A0B26F
analogous
#6F7FB2 #816FB2 #A36FB2
triadic
#816FB2 #B2816F #6FB281
tetradic
#816FB2 #B26F7F #A0B26F #6FB2A3
square
#816FB2 #B26F7F #A0B26F #6FB2A3
split-complementary
#816FB2 #B2A36F #7FB26F
monochromatic
#483A6D #624F94 #816FB2 #A497C7 #C7BFDD

Accessibility & contrast

On white

4.33
#816FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#816FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FB2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FB2#FFFFFF#000000##000000
##816FB21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#6078B0
Tritanopia (blue-blind)
#777B88
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #816fb2;
/* rgb */ color: rgb(129, 111, 178);
/* oklch */ color: oklch(58.6% 0.102 295.4);
Tailwind
colors: {
  custom: {
    50: '#a798c9',
    500: '#816fb2',
    950: '#000000',
  },
}
SCSS
$custom: #816fb2;
$custom-light: #a798c9;
$custom-dark: #000000;
JSON
{
  "hex": "#816fb2",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 256.119,
    "s": 30.317,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.10205,
    "h": 295.4
  },
  "luminance": 0.1925
}

Semantic roles & 50–950 ramp

primary
#816FB2
secondary
#C5CCB1
accent
#C761AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #816FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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