#6836DA#6836DA

#6836DA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.230 H 289.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6836DA
RGBrgb(104, 54, 218)
HSLhsl(258, 69%, 53%)
HSVhsv(258, 75%, 85%)
CMYKcmyk(52.3%, 75.2%, 0%, 14.5%)
CIE-LABlab(38.97, 58.85, -75.62)
CIE-LCHlch(38.97, 95.82, 307.89°)
OKLaboklab(50.03% 0.0755 -0.2174)
OKLCHoklch(50.03% 0.23 289.2)
XYZxyz(19.6793, 10.6424, 67.3333)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836DA #A8DA36
analogous
#3656DA #6836DA #BA36DA
triadic
#6836DA #DA6836 #36DA68
tetradic
#6836DA #DA3656 #A8DA36 #36DABA
square
#6836DA #DA3656 #A8DA36 #36DABA
split-complementary
#6836DA #DABA36 #56DA36
monochromatic
#37177E #4D21B2 #6836DA #8F6AE4 #B69DED

Accessibility & contrast

On white

6.71
#6836DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6836DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6836DA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836DA#FFFFFF#000000##FFFFFF
##6836DA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDF
Deuteranopia (green-blind)
#0058D7
Tritanopia (blue-blind)
#3C6486
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6836da;
/* rgb */ color: rgb(104, 54, 218);
/* oklch */ color: oklch(50.0% 0.230 289.2);
Tailwind
colors: {
  custom: {
    50: '#9e73e7',
    500: '#6836da',
    950: '#000000',
  },
}
SCSS
$custom: #6836da;
$custom-light: #9e73e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6836da",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 218
  },
  "hsl": {
    "h": 258.293,
    "s": 68.908,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50033,
    "c": 0.23014,
    "h": 289.2
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#6836DA
secondary
#C4D993
accent
#EC3CB6
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6836DA

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

Preview Lab → · Contrast checker → · Palette generator →

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