#6836BD#6836BD

#6836BD is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.198 H 294.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6836BD
RGBrgb(104, 54, 189)
HSLhsl(262, 56%, 48%)
HSVhsv(262, 71%, 74%)
CMYKcmyk(45%, 71.4%, 0%, 25.9%)
CIE-LABlab(36.47, 51.12, -62.87)
CIE-LCHlch(36.47, 81.03, 309.11°)
OKLaboklab(47.5% 0.0823 -0.18)
OKLCHoklch(47.5% 0.198 294.6)
XYZxyz(16.2109, 9.2551, 49.0665)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836BD #8BBD36
analogous
#3648BD #6836BD #AB36BD
triadic
#6836BD #BD6836 #36BD68
tetradic
#6836BD #BD3648 #8BBD36 #36BDAB
square
#6836BD #BD3648 #8BBD36 #36BDAB
split-complementary
#6836BD #BDAB36 #48BD36
monochromatic
#341B5E #4E288D #6836BD #895FD1 #AC8FDF

Accessibility & contrast

On white

7.37
#6836BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6836BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836BD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836BD#FFFFFF#000000##FFFFFF
##6836BD1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#505876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6836bd;
/* rgb */ color: rgb(104, 54, 189);
/* oklch */ color: oklch(47.5% 0.198 294.6);
Tailwind
colors: {
  custom: {
    50: '#9b71d2',
    500: '#6836bd',
    950: '#000000',
  },
}
SCSS
$custom: #6836bd;
$custom-light: #9b71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6836bd",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 262.222,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47502,
    "c": 0.19794,
    "h": 294.6
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6836BD

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

Preview Lab → · Contrast checker → · Palette generator →

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