#6836C9#6836C9

#6836C9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.211 H 292.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6836C9
RGBrgb(104, 54, 201)
HSLhsl(260, 58%, 50%)
HSVhsv(260, 73%, 79%)
CMYKcmyk(48.3%, 73.1%, 0%, 21.2%)
CIE-LABlab(37.48, 54.31, -68.24)
CIE-LCHlch(37.48, 87.21, 308.51°)
OKLaboklab(48.53% 0.0797 -0.1958)
OKLCHoklch(48.53% 0.211 292.2)
XYZxyz(17.5677, 9.7978, 56.2125)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836C9 #97C936
analogous
#364EC9 #6836C9 #B136C9
triadic
#6836C9 #C96836 #36C968
tetradic
#6836C9 #C9364E #97C936 #36C9B1
square
#6836C9 #C9364E #97C936 #36C9B1
split-complementary
#6836C9 #C9B136 #4EC936
monochromatic
#361C69 #4F2999 #6836C9 #8C66D6 #B096E3

Accessibility & contrast

On white

7.10
#6836C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6836C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836C9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836C9#FFFFFF#000000##FFFFFF
##6836C91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#495D7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6836c9;
/* rgb */ color: rgb(104, 54, 201);
/* oklch */ color: oklch(48.5% 0.211 292.2);
Tailwind
colors: {
  custom: {
    50: '#9c72db',
    500: '#6836c9',
    950: '#000000',
  },
}
SCSS
$custom: #6836c9;
$custom-light: #9c72db;
$custom-dark: #000000;
JSON
{
  "hex": "#6836c9",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 260.408,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.2114,
    "h": 292.2
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#6836C9
secondary
#B8CE8C
accent
#E147AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6836C9

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

Preview Lab → · Contrast checker → · Palette generator →

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