#836FAC#836FAC

#836FAC is a mid, moderate violet. Relative luminance 0.192; OKLCH L 58.5% C 0.094 H 298.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#836FAC
RGBrgb(131, 111, 172)
HSLhsl(260, 27%, 55%)
HSVhsv(260, 35%, 67%)
CMYKcmyk(23.8%, 35.5%, 0%, 32.5%)
CIE-LABlab(50.89, 20.94, -29.73)
CIE-LCHlch(50.89, 36.36, 305.16°)
OKLaboklab(58.49% 0.0449 -0.0824)
OKLCHoklch(58.49% 0.094 298.5)
XYZxyz(22.4892, 19.1726, 41.5376)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836FAC #98AC6F
analogous
#6F79AC #836FAC #A16FAC
triadic
#836FAC #AC836F #6FAC83
tetradic
#836FAC #AC6F79 #98AC6F #6FACA1
square
#836FAC #AC6F79 #98AC6F #6FACA1
split-complementary
#836FAC #ACA16F #79AC6F
monochromatic
#493B66 #65518D #836FAC #A496C2 #C6BDD9

Accessibility & contrast

On white

4.34
#836FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#836FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836FAC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836FAC#FFFFFF#000000##000000
##836FAC1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6079AE
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#7B7985
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #836fac;
/* rgb */ color: rgb(131, 111, 172);
/* oklch */ color: oklch(58.5% 0.094 298.5);
Tailwind
colors: {
  custom: {
    50: '#a898c5',
    500: '#836fac',
    950: '#000000',
  },
}
SCSS
$custom: #836fac;
$custom-light: #a898c5;
$custom-dark: #000000;
JSON
{
  "hex": "#836fac",
  "rgb": {
    "r": 131,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 259.672,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58486,
    "c": 0.09386,
    "h": 298.5
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#836FAC
secondary
#C0C8AF
accent
#C365A4
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #836FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#836FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva