#6834BD#6834BD

#6834BD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.200 H 294.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6834BD
RGBrgb(104, 52, 189)
HSLhsl(263, 57%, 47%)
HSVhsv(263, 72%, 74%)
CMYKcmyk(45%, 72.5%, 0%, 25.9%)
CIE-LABlab(36.12, 52.09, -63.43)
CIE-LCHlch(36.12, 82.08, 309.39°)
OKLaboklab(47.26% 0.0842 -0.1817)
OKLCHoklch(47.26% 0.2 294.9)
XYZxyz(16.1197, 9.0727, 49.0361)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834BD #89BD34
analogous
#3444BD #6834BD #AD34BD
triadic
#6834BD #BD6834 #34BD68
tetradic
#6834BD #BD3444 #89BD34 #34BDAD
square
#6834BD #BD3444 #89BD34 #34BDAD
split-complementary
#6834BD #BDAD34 #44BD34
monochromatic
#331A5D #4E278D #6834BD #895CD2 #AC8CDF

Accessibility & contrast

On white

7.46
#6834BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6834BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834BD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834BD#FFFFFF#000000##FFFFFF
##6834BD1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6834bd;
/* rgb */ color: rgb(104, 52, 189);
/* oklch */ color: oklch(47.3% 0.200 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b70d2',
    500: '#6834bd',
    950: '#000000',
  },
}
SCSS
$custom: #6834bd;
$custom-light: #9b70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6834bd",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 262.774,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.20021,
    "h": 294.9
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#6834BD
secondary
#AFCA83
accent
#E048A6
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6834BD

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

Preview Lab → · Contrast checker → · Palette generator →

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