#6836BF#6836BF

#6836BF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.200 H 294.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6836BF
RGBrgb(104, 54, 191)
HSLhsl(262, 56%, 48%)
HSVhsv(262, 72%, 75%)
CMYKcmyk(45.5%, 71.7%, 0%, 25.1%)
CIE-LABlab(36.64, 51.65, -63.77)
CIE-LCHlch(36.64, 82.06, 309.00°)
OKLaboklab(47.67% 0.0819 -0.1827)
OKLCHoklch(47.67% 0.2 294.2)
XYZxyz(16.4295, 9.3425, 50.2178)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836BF #8DBF36
analogous
#3648BF #6836BF #AC36BF
triadic
#6836BF #BF6836 #36BF68
tetradic
#6836BF #BF3648 #8DBF36 #36BFAC
square
#6836BF #BF3648 #8DBF36 #36BFAC
split-complementary
#6836BF #BFAC36 #48BF36
monochromatic
#341B60 #4E298F #6836BF #8A60D2 #AD90E0

Accessibility & contrast

On white

7.32
#6836BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6836BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836BF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836BF#FFFFFF#000000##FFFFFF
##6836BF1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#4F5977
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6836bf;
/* rgb */ color: rgb(104, 54, 191);
/* oklch */ color: oklch(47.7% 0.200 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b71d3',
    500: '#6836bf',
    950: '#000000',
  },
}
SCSS
$custom: #6836bf;
$custom-light: #9b71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6836bf",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 261.898,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.20019,
    "h": 294.2
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6836BF

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

Preview Lab → · Contrast checker → · Palette generator →

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