#6835B6#6835B6

#6835B6 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.191 H 296.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6835B6
RGBrgb(104, 53, 182)
HSLhsl(264, 55%, 46%)
HSVhsv(264, 71%, 71%)
CMYKcmyk(42.9%, 70.9%, 0%, 28.6%)
CIE-LABlab(35.73, 49.76, -59.95)
CIE-LCHlch(35.73, 77.92, 309.69°)
OKLaboklab(46.8% 0.0846 -0.1714)
OKLCHoklch(46.8% 0.191 296.3)
XYZxyz(15.4233, 8.8663, 45.1457)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835B6 #83B635
analogous
#3542B6 #6835B6 #A835B6
triadic
#6835B6 #B66835 #35B668
tetradic
#6835B6 #B63542 #83B635 #35B6A8
square
#6835B6 #B63542 #83B635 #35B6A8
split-complementary
#6835B6 #B6A835 #42B635
monochromatic
#321957 #4D2787 #6835B6 #8859CF #AA89DD

Accessibility & contrast

On white

7.57
#6835B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6835B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835B6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835B6#FFFFFF#000000##FFFFFF
##6835B61.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#535572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6835b6;
/* rgb */ color: rgb(104, 53, 182);
/* oklch */ color: oklch(46.8% 0.191 296.3);
Tailwind
colors: {
  custom: {
    50: '#9a70cd',
    500: '#6835b6',
    950: '#000000',
  },
}
SCSS
$custom: #6835b6;
$custom-light: #9a70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6835b6",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 263.721,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.1912,
    "h": 296.3
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#6835B6
secondary
#ABC780
accent
#DE4AA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6835B6

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

Preview Lab → · Contrast checker → · Palette generator →

#6835B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva