#6834B6#6834B6

#6834B6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.192 H 296.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6834B6
RGBrgb(104, 52, 182)
HSLhsl(264, 56%, 46%)
HSVhsv(264, 71%, 71%)
CMYKcmyk(42.9%, 71.4%, 0%, 28.6%)
CIE-LABlab(35.55, 50.26, -60.24)
CIE-LCHlch(35.55, 78.45, 309.84°)
OKLaboklab(46.67% 0.0856 -0.1723)
OKLCHoklch(46.67% 0.192 296.4)
XYZxyz(15.3782, 8.7761, 45.1306)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834B6 #82B634
analogous
#3441B6 #6834B6 #A934B6
triadic
#6834B6 #B66834 #34B668
tetradic
#6834B6 #B63441 #82B634 #34B6A9
square
#6834B6 #B63441 #82B634 #34B6A9
split-complementary
#6834B6 #B6A934 #41B634
monochromatic
#321957 #4D2686 #6834B6 #8858CF #AA88DD

Accessibility & contrast

On white

7.62
#6834B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6834B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834B6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834B6#FFFFFF#000000##FFFFFF
##6834B61.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#535571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6834b6;
/* rgb */ color: rgb(104, 52, 182);
/* oklch */ color: oklch(46.7% 0.192 296.4);
Tailwind
colors: {
  custom: {
    50: '#9a70cd',
    500: '#6834b6',
    950: '#000000',
  },
}
SCSS
$custom: #6834b6;
$custom-light: #9a70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6834b6",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 264,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.19237,
    "h": 296.4
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#6834B6
secondary
#AAC77F
accent
#DF49A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6834B6

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

Preview Lab → · Contrast checker → · Palette generator →

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