#6836BC#6836BC

#6836BC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.197 H 294.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6836BC
RGBrgb(104, 54, 188)
HSLhsl(262, 55%, 47%)
HSVhsv(262, 71%, 74%)
CMYKcmyk(44.7%, 71.3%, 0%, 26.3%)
CIE-LABlab(36.39, 50.85, -62.41)
CIE-LCHlch(36.39, 80.51, 309.17°)
OKLaboklab(47.42% 0.0825 -0.1787)
OKLCHoklch(47.42% 0.197 294.8)
XYZxyz(16.1027, 9.2118, 48.4968)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836BC #8ABC36
analogous
#3647BC #6836BC #AB36BC
triadic
#6836BC #BC6836 #36BC68
tetradic
#6836BC #BC3647 #8ABC36 #36BCAB
square
#6836BC #BC3647 #8ABC36 #36BCAB
split-complementary
#6836BC #BCAB36 #47BC36
monochromatic
#331B5D #4E288C #6836BC #895ED1 #AC8EDF

Accessibility & contrast

On white

7.39
#6836BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6836BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836BC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836BC#FFFFFF#000000##FFFFFF
##6836BC1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#505875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6836bc;
/* rgb */ color: rgb(104, 54, 188);
/* oklch */ color: oklch(47.4% 0.197 294.8);
Tailwind
colors: {
  custom: {
    50: '#9a71d1',
    500: '#6836bc',
    950: '#000000',
  },
}
SCSS
$custom: #6836bc;
$custom-light: #9a71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6836bc",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 262.388,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.1968,
    "h": 294.8
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#6836BC
secondary
#B0C985
accent
#DF49A7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6836BC

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

Preview Lab → · Contrast checker → · Palette generator →

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