#6836B8#6836B8

#6836B8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.192 H 295.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6836B8
RGBrgb(104, 54, 184)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 72%)
CMYKcmyk(43.5%, 70.7%, 0%, 27.8%)
CIE-LABlab(36.06, 49.79, -60.58)
CIE-LCHlch(36.06, 78.42, 309.42°)
OKLaboklab(47.09% 0.0833 -0.1733)
OKLCHoklch(47.09% 0.192 295.7)
XYZxyz(15.6775, 9.0417, 46.2573)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836B8 #86B836
analogous
#3645B8 #6836B8 #A936B8
triadic
#6836B8 #B86836 #36B868
tetradic
#6836B8 #B83645 #86B836 #36B8A9
square
#6836B8 #B83645 #86B836 #36B8A9
split-complementary
#6836B8 #B8A936 #45B836
monochromatic
#331A59 #4D2889 #6836B8 #885CCF #AB8BDD

Accessibility & contrast

On white

7.48
#6836B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6836B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836B8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836B8#FFFFFF#000000##FFFFFF
##6836B81.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#525773
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6836b8;
/* rgb */ color: rgb(104, 54, 184);
/* oklch */ color: oklch(47.1% 0.192 295.7);
Tailwind
colors: {
  custom: {
    50: '#9a71ce',
    500: '#6836b8',
    950: '#000000',
  },
}
SCSS
$custom: #6836b8;
$custom-light: #9a71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6836b8",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 263.077,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.19227,
    "h": 295.7
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#6836B8
secondary
#ADC782
accent
#DE4AA5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6836B8

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

Preview Lab → · Contrast checker → · Palette generator →

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