#6836B3#6836B3

#6836B3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.187 H 296.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6836B3
RGBrgb(104, 54, 179)
HSLhsl(264, 54%, 46%)
HSVhsv(264, 70%, 70%)
CMYKcmyk(41.9%, 69.8%, 0%, 29.8%)
CIE-LABlab(35.67, 48.48, -58.27)
CIE-LCHlch(35.67, 75.80, 309.76°)
OKLaboklab(46.68% 0.0842 -0.1665)
OKLCHoklch(46.68% 0.187 296.8)
XYZxyz(15.1626, 8.8358, 43.5457)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836B3 #81B336
analogous
#3642B3 #6836B3 #A636B3
triadic
#6836B3 #B36836 #36B368
tetradic
#6836B3 #B33642 #81B336 #36B3A6
square
#6836B3 #B33642 #81B336 #36B3A6
split-complementary
#6836B3 #B3A636 #42B336
monochromatic
#311A55 #4D2884 #6836B3 #8859CD #A988DB

Accessibility & contrast

On white

7.59
#6836B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6836B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836B3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836B3#FFFFFF#000000##FFFFFF
##6836B31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#555570
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6836b3;
/* rgb */ color: rgb(104, 54, 179);
/* oklch */ color: oklch(46.7% 0.187 296.8);
Tailwind
colors: {
  custom: {
    50: '#9971cb',
    500: '#6836b3',
    950: '#000000',
  },
}
SCSS
$custom: #6836b3;
$custom-light: #9971cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6836b3",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 264,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.18658,
    "h": 296.8
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#6836B3
secondary
#A9C580
accent
#DD4BA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6836B3

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

Preview Lab → · Contrast checker → · Palette generator →

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