#6835BA#6835BA

#6835BA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.196 H 295.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6835BA
RGBrgb(104, 53, 186)
HSLhsl(263, 56%, 47%)
HSVhsv(263, 72%, 73%)
CMYKcmyk(44.1%, 71.5%, 0%, 27.1%)
CIE-LABlab(36.05, 50.82, -61.79)
CIE-LCHlch(36.05, 80.00, 309.44°)
OKLaboklab(47.13% 0.0839 -0.1768)
OKLCHoklch(47.13% 0.196 295.4)
XYZxyz(15.8426, 9.0340, 47.3539)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835BA #87BA35
analogous
#3544BA #6835BA #AB35BA
triadic
#6835BA #BA6835 #35BA68
tetradic
#6835BA #BA3544 #87BA35 #35BAAB
square
#6835BA #BA3544 #87BA35 #35BAAB
split-complementary
#6835BA #BAAB35 #44BA35
monochromatic
#331A5B #4D278A #6835BA #885CD0 #AB8BDE

Accessibility & contrast

On white

7.48
#6835BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6835BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835BA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835BA#FFFFFF#000000##FFFFFF
##6835BA1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#515774
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6835ba;
/* rgb */ color: rgb(104, 53, 186);
/* oklch */ color: oklch(47.1% 0.196 295.4);
Tailwind
colors: {
  custom: {
    50: '#9a71d0',
    500: '#6835ba',
    950: '#000000',
  },
}
SCSS
$custom: #6835ba;
$custom-light: #9a71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6835ba",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 263.008,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.19571,
    "h": 295.4
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6835BA

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

Preview Lab → · Contrast checker → · Palette generator →

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