#6835BD#6835BD

#6835BD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.199 H 294.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6835BD
RGBrgb(104, 53, 189)
HSLhsl(263, 56%, 47%)
HSVhsv(263, 72%, 74%)
CMYKcmyk(45%, 72%, 0%, 25.9%)
CIE-LABlab(36.30, 51.61, -63.15)
CIE-LCHlch(36.30, 81.56, 309.26°)
OKLaboklab(47.38% 0.0832 -0.1808)
OKLCHoklch(47.38% 0.199 294.7)
XYZxyz(16.1648, 9.1630, 49.0512)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835BD #8ABD35
analogous
#3546BD #6835BD #AC35BD
triadic
#6835BD #BD6835 #35BD68
tetradic
#6835BD #BD3546 #8ABD35 #35BDAC
square
#6835BD #BD3546 #8ABD35 #35BDAC
split-complementary
#6835BD #BDAC35 #46BD35
monochromatic
#331A5D #4E288D #6835BD #895DD2 #AC8DDF

Accessibility & contrast

On white

7.41
#6835BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6835BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835BD
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835BD#FFFFFF#000000##FFFFFF
##6835BD1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#505876
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6835bd;
/* rgb */ color: rgb(104, 53, 189);
/* oklch */ color: oklch(47.4% 0.199 294.7);
Tailwind
colors: {
  custom: {
    50: '#9b71d2',
    500: '#6835bd',
    950: '#000000',
  },
}
SCSS
$custom: #6835bd;
$custom-light: #9b71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6835bd",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 262.5,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.19908,
    "h": 294.7
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#6835BD
secondary
#B0CA84
accent
#DF48A7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6835BD

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

Preview Lab → · Contrast checker → · Palette generator →

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