#836CE6#836CE6

#836CE6 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.3% C 0.178 H 288.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#836CE6
RGBrgb(131, 108, 230)
HSLhsl(251, 71%, 66%)
HSVhsv(251, 53%, 90%)
CMYKcmyk(43%, 53%, 0%, 9.8%)
CIE-LABlab(53.24, 38.18, -59.14)
CIE-LCHlch(53.24, 70.40, 302.85°)
OKLaboklab(61.25% 0.057 -0.1682)
OKLCHoklch(61.25% 0.178 288.7)
XYZxyz(29.0015, 21.2625, 77.4236)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CE6 #CFE66C
analogous
#6C92E6 #836CE6 #C06CE6
triadic
#836CE6 #E6836C #6CE683
tetradic
#836CE6 #E66C92 #CFE66C #6CE6C0
square
#836CE6 #E66C92 #CFE66C #6CE6C0
split-complementary
#836CE6 #E6C06C #92E66C
monochromatic
#3C1FB8 #5738DD #836CE6 #AFA0EF #DBD5F8

Accessibility & contrast

On white

4.00
#836CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#836CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CE6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CE6#FFFFFF#000000##000000
##836CE61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EA
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#66869F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #836ce6;
/* rgb */ color: rgb(131, 108, 230);
/* oklch */ color: oklch(61.3% 0.178 288.7);
Tailwind
colors: {
  custom: {
    50: '#ac96ef',
    500: '#836ce6',
    950: '#000000',
  },
}
SCSS
$custom: #836ce6;
$custom-light: #ac96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#836ce6",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 251.311,
    "s": 70.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.17759,
    "h": 288.7
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#836CE6
secondary
#E3EBC3
accent
#D313AF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #836CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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