#6836BE#6836BE

#6836BE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.199 H 294.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6836BE
RGBrgb(104, 54, 190)
HSLhsl(262, 56%, 48%)
HSVhsv(262, 72%, 75%)
CMYKcmyk(45.3%, 71.6%, 0%, 25.5%)
CIE-LABlab(36.55, 51.38, -63.32)
CIE-LCHlch(36.55, 81.55, 309.06°)
OKLaboklab(47.59% 0.0821 -0.1813)
OKLCHoklch(47.59% 0.199 294.4)
XYZxyz(16.3198, 9.2986, 49.6402)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836BE #8CBE36
analogous
#3648BE #6836BE #AC36BE
triadic
#6836BE #BE6836 #36BE68
tetradic
#6836BE #BE3648 #8CBE36 #36BEAC
square
#6836BE #BE3648 #8CBE36 #36BEAC
split-complementary
#6836BE #BEAC36 #48BE36
monochromatic
#341B5F #4E288E #6836BE #8960D2 #AD8FDF

Accessibility & contrast

On white

7.34
#6836BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6836BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836BE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836BE#FFFFFF#000000##FFFFFF
##6836BE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#4F5976
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6836be;
/* rgb */ color: rgb(104, 54, 190);
/* oklch */ color: oklch(47.6% 0.199 294.4);
Tailwind
colors: {
  custom: {
    50: '#9b71d3',
    500: '#6836be',
    950: '#000000',
  },
}
SCSS
$custom: #6836be;
$custom-light: #9b71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6836be",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 262.059,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47586,
    "c": 0.19906,
    "h": 294.4
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#6836BE
secondary
#B1CA86
accent
#DF49A8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6836BE

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

Preview Lab → · Contrast checker → · Palette generator →

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