#6836B5#6836B5

#6836B5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.189 H 296.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6836B5
RGBrgb(104, 54, 181)
HSLhsl(264, 54%, 46%)
HSVhsv(264, 70%, 71%)
CMYKcmyk(42.5%, 70.2%, 0%, 29%)
CIE-LABlab(35.82, 49.00, -59.20)
CIE-LCHlch(35.82, 76.85, 309.62°)
OKLaboklab(46.84% 0.0838 -0.1692)
OKLCHoklch(46.84% 0.189 296.4)
XYZxyz(15.3664, 8.9173, 44.6187)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836B5 #83B536
analogous
#3643B5 #6836B5 #A736B5
triadic
#6836B5 #B56836 #36B568
tetradic
#6836B5 #B53643 #83B536 #36B5A7
square
#6836B5 #B53643 #83B536 #36B5A7
split-complementary
#6836B5 #B5A736 #43B536
monochromatic
#321A57 #4D2886 #6836B5 #885ACE #AA89DC

Accessibility & contrast

On white

7.54
#6836B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6836B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836B5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836B5#FFFFFF#000000##FFFFFF
##6836B51.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#545571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6836b5;
/* rgb */ color: rgb(104, 54, 181);
/* oklch */ color: oklch(46.8% 0.189 296.4);
Tailwind
colors: {
  custom: {
    50: '#9a71cc',
    500: '#6836b5',
    950: '#000000',
  },
}
SCSS
$custom: #6836b5;
$custom-light: #9a71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6836b5",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 263.622,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.18886,
    "h": 296.4
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#6836B5
secondary
#ABC681
accent
#DD4AA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6836B5

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

Preview Lab → · Contrast checker → · Palette generator →

#6836B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva