#6836BA#6836BA

#6836BA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.195 H 295.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6836BA
RGBrgb(104, 54, 186)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 73%)
CMYKcmyk(44.1%, 71%, 0%, 27.1%)
CIE-LABlab(36.23, 50.32, -61.50)
CIE-LCHlch(36.23, 79.46, 309.29°)
OKLaboklab(47.25% 0.0829 -0.176)
OKLCHoklch(47.25% 0.195 295.2)
XYZxyz(15.8886, 9.1262, 47.3692)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836BA #88BA36
analogous
#3646BA #6836BA #AA36BA
triadic
#6836BA #BA6836 #36BA68
tetradic
#6836BA #BA3646 #88BA36 #36BAAA
square
#6836BA #BA3646 #88BA36 #36BAAA
split-complementary
#6836BA #BAAA36 #46BA36
monochromatic
#331A5B #4D288B #6836BA #895DD0 #AB8DDE

Accessibility & contrast

On white

7.43
#6836BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6836BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836BA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836BA#FFFFFF#000000##FFFFFF
##6836BA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#515774
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6836ba;
/* rgb */ color: rgb(104, 54, 186);
/* oklch */ color: oklch(47.3% 0.195 295.2);
Tailwind
colors: {
  custom: {
    50: '#9a71d0',
    500: '#6836ba',
    950: '#000000',
  },
}
SCSS
$custom: #6836ba;
$custom-light: #9a71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6836ba",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 262.727,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.19454,
    "h": 295.2
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#6836BA
secondary
#AEC884
accent
#DE49A6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6836BA

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

Preview Lab → · Contrast checker → · Palette generator →

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