#6834A5#6834A5

#6834A5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.173 H 300.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6834A5
RGBrgb(104, 52, 165)
HSLhsl(268, 52%, 43%)
HSVhsv(268, 68%, 65%)
CMYKcmyk(37%, 68.5%, 0%, 35.3%)
CIE-LABlab(34.22, 45.85, -52.26)
CIE-LCHlch(34.22, 69.52, 311.26°)
OKLaboklab(45.31% 0.0885 -0.1488)
OKLCHoklch(45.31% 0.173 300.7)
XYZxyz(13.7268, 8.1156, 36.4333)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834A5 #71A534
analogous
#3438A5 #6834A5 #A134A5
triadic
#6834A5 #A56834 #34A568
tetradic
#6834A5 #A53438 #71A534 #34A5A1
square
#6834A5 #A53438 #71A534 #34A5A1
split-complementary
#6834A5 #A5A134 #38A534
monochromatic
#2D1748 #4B2576 #6834A5 #864FC7 #A67DD6

Accessibility & contrast

On white

8.01
#6834A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6834A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834A5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834A5#FFFFFF#000000##FFFFFF
##6834A51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#5B4E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6834a5;
/* rgb */ color: rgb(104, 52, 165);
/* oklch */ color: oklch(45.3% 0.173 300.7);
Tailwind
colors: {
  custom: {
    50: '#986fc0',
    500: '#6834a5',
    950: '#000000',
  },
}
SCSS
$custom: #6834a5;
$custom-light: #986fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6834a5",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 267.611,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.17312,
    "h": 300.7
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#6834A5
secondary
#9DBF76
accent
#DC4C9A
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6834A5

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

Preview Lab → · Contrast checker → · Palette generator →

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