#6836C0#6836C0

#6836C0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.201 H 293.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6836C0
RGBrgb(104, 54, 192)
HSLhsl(262, 56%, 48%)
HSVhsv(262, 72%, 75%)
CMYKcmyk(45.8%, 71.9%, 0%, 24.7%)
CIE-LABlab(36.72, 51.91, -64.22)
CIE-LCHlch(36.72, 82.58, 308.95°)
OKLaboklab(47.75% 0.0817 -0.184)
OKLCHoklch(47.75% 0.201 293.9)
XYZxyz(16.5399, 9.3867, 50.7993)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836C0 #8EC036
analogous
#3649C0 #6836C0 #AD36C0
triadic
#6836C0 #C06836 #36C068
tetradic
#6836C0 #C03649 #8EC036 #36C0AD
square
#6836C0 #C03649 #8EC036 #36C0AD
split-complementary
#6836C0 #C0AD36 #49C036
monochromatic
#341B60 #4E2990 #6836C0 #8A61D2 #AD90E0

Accessibility & contrast

On white

7.30
#6836C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6836C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836C0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836C0#FFFFFF#000000##FFFFFF
##6836C01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#4E5A78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6836c0;
/* rgb */ color: rgb(104, 54, 192);
/* oklch */ color: oklch(47.8% 0.201 293.9);
Tailwind
colors: {
  custom: {
    50: '#9b71d4',
    500: '#6836c0',
    950: '#000000',
  },
}
SCSS
$custom: #6836c0;
$custom-light: #9b71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6836c0",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 261.739,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.20132,
    "h": 293.9
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#6836C0
secondary
#B2CB87
accent
#DF48A9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6836C0

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

Preview Lab → · Contrast checker → · Palette generator →

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