#836795#836795

#836795 is a mid, moderate violet. Relative luminance 0.167; OKLCH L 55.9% C 0.077 H 311.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#836795
RGBrgb(131, 103, 149)
HSLhsl(277, 18%, 49%)
HSVhsv(277, 31%, 58%)
CMYKcmyk(12.1%, 30.9%, 0%, 41.6%)
CIE-LABlab(47.87, 20.25, -20.90)
CIE-LCHlch(47.87, 29.10, 314.10°)
OKLaboklab(55.86% 0.051 -0.0572)
OKLCHoklch(55.86% 0.077 311.7)
XYZxyz(19.6342, 16.6960, 30.6163)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836795 #799567
analogous
#6C6795 #836795 #956790
triadic
#836795 #958367 #679583
tetradic
#836795 #956C67 #799567 #679095
square
#836795 #956C67 #799567 #679095
split-complementary
#836795 #909567 #67956C
monochromatic
#43354D #634E71 #836795 #A18BAF #BEAFC8

Accessibility & contrast

On white

4.84
#836795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#836795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #836795
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836795#FFFFFF#000000##FFFFFF
##8367951.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607097
Deuteranopia (green-blind)
#667294
Tritanopia (blue-blind)
#816D78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #836795;
/* rgb */ color: rgb(131, 103, 149);
/* oklch */ color: oklch(55.9% 0.077 311.7);
Tailwind
colors: {
  custom: {
    50: '#a792b4',
    500: '#836795',
    950: '#000000',
  },
}
SCSS
$custom: #836795;
$custom-light: #a792b4;
$custom-dark: #000000;
JSON
{
  "hex": "#836795",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 276.522,
    "s": 18.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.07662,
    "h": 311.7
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#836795
secondary
#AAB7A1
accent
#BB6D8B
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#0F0D11
muted
#7F7E80

Preview Lab

Preview with #836795

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

Preview Lab → · Contrast checker → · Palette generator →

#836795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva