#6835B9#6835B9

#6835B9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.195 H 295.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6835B9
RGBrgb(104, 53, 185)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 73%)
CMYKcmyk(43.8%, 71.4%, 0%, 27.5%)
CIE-LABlab(35.97, 50.55, -61.33)
CIE-LCHlch(35.97, 79.48, 309.50°)
OKLaboklab(47.04% 0.0841 -0.1755)
OKLCHoklch(47.04% 0.195 295.6)
XYZxyz(15.7366, 8.9917, 46.7960)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835B9 #86B935
analogous
#3544B9 #6835B9 #AA35B9
triadic
#6835B9 #B96835 #35B968
tetradic
#6835B9 #B93544 #86B935 #35B9AA
square
#6835B9 #B93544 #86B935 #35B9AA
split-complementary
#6835B9 #B9AA35 #44B935
monochromatic
#331A5A #4D2789 #6835B9 #885BD0 #AB8BDE

Accessibility & contrast

On white

7.50
#6835B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6835B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835B9
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835B9#FFFFFF#000000##FFFFFF
##6835B91.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#525673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6835b9;
/* rgb */ color: rgb(104, 53, 185);
/* oklch */ color: oklch(47.0% 0.195 295.6);
Tailwind
colors: {
  custom: {
    50: '#9a71cf',
    500: '#6835b9',
    950: '#000000',
  },
}
SCSS
$custom: #6835b9;
$custom-light: #9a71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6835b9",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 263.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.19458,
    "h": 295.6
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#6835B9
secondary
#ADC882
accent
#DF49A5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6835B9

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

Preview Lab → · Contrast checker → · Palette generator →

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