#6836B9#6836B9

#6836B9 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.193 H 295.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6836B9
RGBrgb(104, 54, 185)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 73%)
CMYKcmyk(43.8%, 70.8%, 0%, 27.5%)
CIE-LABlab(36.15, 50.06, -61.04)
CIE-LCHlch(36.15, 78.94, 309.35°)
OKLaboklab(47.17% 0.0831 -0.1746)
OKLCHoklch(47.17% 0.193 295.4)
XYZxyz(15.7827, 9.0838, 46.8113)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836B9 #87B936
analogous
#3645B9 #6836B9 #AA36B9
triadic
#6836B9 #B96836 #36B968
tetradic
#6836B9 #B93645 #87B936 #36B9AA
square
#6836B9 #B93645 #87B936 #36B9AA
split-complementary
#6836B9 #B9AA36 #45B936
monochromatic
#331A5A #4D288A #6836B9 #885DD0 #AB8CDD

Accessibility & contrast

On white

7.46
#6836B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6836B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836B9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836B9#FFFFFF#000000##FFFFFF
##6836B91.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#525774
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6836b9;
/* rgb */ color: rgb(104, 54, 185);
/* oklch */ color: oklch(47.2% 0.193 295.4);
Tailwind
colors: {
  custom: {
    50: '#9a71cf',
    500: '#6836b9',
    950: '#000000',
  },
}
SCSS
$custom: #6836b9;
$custom-light: #9a71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6836b9",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 262.901,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4717,
    "c": 0.19341,
    "h": 295.4
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#6836B9
secondary
#AEC883
accent
#DE4AA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6836B9

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

Preview Lab → · Contrast checker → · Palette generator →

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