#836FC2#836FC2

#836FC2 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.6% C 0.125 H 293.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#836FC2
RGBrgb(131, 111, 194)
HSLhsl(254, 40%, 60%)
HSVhsv(254, 43%, 76%)
CMYKcmyk(32.5%, 42.8%, 0%, 23.9%)
CIE-LABlab(51.94, 26.58, -40.78)
CIE-LCHlch(51.94, 48.68, 303.09°)
OKLaboklab(59.63% 0.0494 -0.1145)
OKLCHoklch(59.63% 0.125 293.3)
XYZxyz(24.7796, 20.0888, 53.6005)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836FC2 #AEC26F
analogous
#6F84C2 #836FC2 #AD6FC2
triadic
#836FC2 #C2836F #6FC283
tetradic
#836FC2 #C26F84 #AEC26F #6FC2AD
square
#836FC2 #C26F84 #AEC26F #6FC2AD
split-complementary
#836FC2 #C2AD6F #84C26F
monochromatic
#483680 #6049AB #836FC2 #A89AD4 #CDC5E6

Accessibility & contrast

On white

4.19
#836FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#836FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836FC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836FC2#FFFFFF#000000##000000
##836FC21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#587AC0
Tritanopia (blue-blind)
#757E8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #836fc2;
/* rgb */ color: rgb(131, 111, 194);
/* oklch */ color: oklch(59.6% 0.125 293.3);
Tailwind
colors: {
  custom: {
    50: '#a998d5',
    500: '#836fc2',
    950: '#000000',
  },
}
SCSS
$custom: #836fc2;
$custom-light: #a998d5;
$custom-dark: #000000;
JSON
{
  "hex": "#836fc2",
  "rgb": {
    "r": 131,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 254.458,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.12466,
    "h": 293.3
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#836FC2
secondary
#CFD6B6
accent
#D057B3
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #836FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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