#836BF2#836BF2

#836BF2 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.9% C 0.194 H 287.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#836BF2
RGBrgb(131, 107, 242)
HSLhsl(251, 84%, 68%)
HSVhsv(251, 56%, 95%)
CMYKcmyk(45.9%, 55.8%, 0%, 5.1%)
CIE-LABlab(53.76, 42.14, -65.00)
CIE-LCHlch(53.76, 77.47, 302.96°)
OKLaboklab(61.88% 0.0584 -0.1854)
OKLCHoklch(61.88% 0.194 287.5)
XYZxyz(30.6402, 21.7502, 86.5710)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836BF2 #DAF26B
analogous
#6B96F2 #836BF2 #C76BF2
triadic
#836BF2 #F2836B #6BF283
tetradic
#836BF2 #F26B96 #DAF26B #6BF2C7
square
#836BF2 #F26B96 #DAF26B #6BF2C7
split-complementary
#836BF2 #F2C76B #96F26B
monochromatic
#3412D0 #5433ED #836BF2 #B2A3F7 #E1DCFC

Accessibility & contrast

On white

3.93
#836BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#836BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836BF2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836BF2#FFFFFF#000000##000000
##836BF21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1584F7
Deuteranopia (green-blind)
#157DEF
Tritanopia (blue-blind)
#5F89A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #836bf2;
/* rgb */ color: rgb(131, 107, 242);
/* oklch */ color: oklch(61.9% 0.194 287.5);
Tailwind
colors: {
  custom: {
    50: '#ae96f7',
    500: '#836bf2',
    950: '#000000',
  },
}
SCSS
$custom: #836bf2;
$custom-light: #ae96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#836bf2",
  "rgb": {
    "r": 131,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 250.667,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.19443,
    "h": 287.5
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#836BF2
secondary
#E9F1C8
accent
#E005B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #836BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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