#6835B5#6835B5

#6835B5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.190 H 296.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6835B5
RGBrgb(104, 53, 181)
HSLhsl(264, 55%, 46%)
HSVhsv(264, 71%, 71%)
CMYKcmyk(42.5%, 70.7%, 0%, 29%)
CIE-LABlab(35.65, 49.50, -59.49)
CIE-LCHlch(35.65, 77.39, 309.76°)
OKLaboklab(46.71% 0.0848 -0.1701)
OKLCHoklch(46.71% 0.19 296.5)
XYZxyz(15.3203, 8.8251, 44.6033)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835B5 #82B535
analogous
#3542B5 #6835B5 #A835B5
triadic
#6835B5 #B56835 #35B568
tetradic
#6835B5 #B53542 #82B535 #35B5A8
square
#6835B5 #B53542 #82B535 #35B5A8
split-complementary
#6835B5 #B5A835 #42B535
monochromatic
#321956 #4D2786 #6835B5 #8859CE #AA88DC

Accessibility & contrast

On white

7.59
#6835B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6835B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835B5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835B5#FFFFFF#000000##FFFFFF
##6835B51.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#545571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6835b5;
/* rgb */ color: rgb(104, 53, 181);
/* oklch */ color: oklch(46.7% 0.190 296.5);
Tailwind
colors: {
  custom: {
    50: '#9a70cc',
    500: '#6835b5',
    950: '#000000',
  },
}
SCSS
$custom: #6835b5;
$custom-light: #9a70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6835b5",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 263.906,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.19007,
    "h": 296.5
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#6835B5
secondary
#AAC680
accent
#DE4AA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6835B5

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

Preview Lab → · Contrast checker → · Palette generator →

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