#6834AE#6834AE

#6834AE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.183 H 298.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6834AE
RGBrgb(104, 52, 174)
HSLhsl(266, 54%, 44%)
HSVhsv(266, 70%, 68%)
CMYKcmyk(40.2%, 70.1%, 0%, 31.8%)
CIE-LABlab(34.91, 48.17, -56.53)
CIE-LCHlch(34.91, 74.27, 310.44°)
OKLaboklab(46.02% 0.0871 -0.1614)
OKLCHoklch(46.02% 0.183 298.3)
XYZxyz(14.5749, 8.4548, 40.9002)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834AE #7AAE34
analogous
#343DAE #6834AE #A534AE
triadic
#6834AE #AE6834 #34AE68
tetradic
#6834AE #AE343D #7AAE34 #34AEA5
square
#6834AE #AE343D #7AAE34 #34AEA5
split-complementary
#6834AE #AEA534 #3DAE34
monochromatic
#301850 #4C267F #6834AE #8753CC #A883DA

Accessibility & contrast

On white

7.80
#6834AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6834AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834AE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834AE#FFFFFF#000000##FFFFFF
##6834AE1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6834ae;
/* rgb */ color: rgb(104, 52, 174);
/* oklch */ color: oklch(46.0% 0.183 298.3);
Tailwind
colors: {
  custom: {
    50: '#9970c7',
    500: '#6834ae',
    950: '#000000',
  },
}
SCSS
$custom: #6834ae;
$custom-light: #9970c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6834ae",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 265.574,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.18336,
    "h": 298.3
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#6834AE
secondary
#A4C37B
accent
#DD4A9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6834AE

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

Preview Lab → · Contrast checker → · Palette generator →

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