#6835AE#6835AE

#6835AE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.182 H 298.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6835AE
RGBrgb(104, 53, 174)
HSLhsl(265, 53%, 45%)
HSVhsv(265, 70%, 68%)
CMYKcmyk(40.2%, 69.5%, 0%, 31.8%)
CIE-LABlab(35.09, 47.67, -56.23)
CIE-LCHlch(35.09, 73.72, 310.29°)
OKLaboklab(46.15% 0.086 -0.1605)
OKLCHoklch(46.15% 0.182 298.2)
XYZxyz(14.6201, 8.5450, 40.9153)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835AE #7BAE35
analogous
#353FAE #6835AE #A535AE
triadic
#6835AE #AE6835 #35AE68
tetradic
#6835AE #AE353F #7BAE35 #35AEA5
square
#6835AE #AE353F #7BAE35 #35AEA5
split-complementary
#6835AE #AEA535 #3FAE35
monochromatic
#301850 #4C277F #6835AE #8755CB #A884DA

Accessibility & contrast

On white

7.75
#6835AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6835AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835AE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835AE#FFFFFF#000000##FFFFFF
##6835AE1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#57526D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6835ae;
/* rgb */ color: rgb(104, 53, 174);
/* oklch */ color: oklch(46.1% 0.182 298.2);
Tailwind
colors: {
  custom: {
    50: '#9970c7',
    500: '#6835ae',
    950: '#000000',
  },
}
SCSS
$custom: #6835ae;
$custom-light: #9970c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6835ae",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 265.289,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46148,
    "c": 0.18212,
    "h": 298.2
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#6835AE
secondary
#A5C37C
accent
#DD4B9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6835AE

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

Preview Lab → · Contrast checker → · Palette generator →

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