#6829B6#6829B6

#6829B6 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.204 H 297.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6829B6
RGBrgb(104, 41, 182)
HSLhsl(267, 63%, 44%)
HSVhsv(267, 77%, 71%)
CMYKcmyk(42.9%, 77.5%, 0%, 28.6%)
CIE-LABlab(33.79, 55.26, -63.12)
CIE-LCHlch(33.79, 83.89, 311.20°)
OKLaboklab(45.43% 0.0954 -0.1807)
OKLCHoklch(45.43% 0.204 297.8)
XYZxyz(14.9432, 7.9061, 44.9856)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829B6 #77B629
analogous
#2930B6 #6829B6 #AE29B6
triadic
#6829B6 #B66829 #29B668
tetradic
#6829B6 #B62930 #77B629 #29B6AE
square
#6829B6 #B62930 #77B629 #29B6AE
split-complementary
#6829B6 #B6AE29 #30B629
monochromatic
#2F1252 #4B1E84 #6829B6 #8747D5 #A779E1

Accessibility & contrast

On white

8.14
#6829B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6829B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829B6
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829B6#FFFFFF#000000##FFFFFF
##6829B61.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#544F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6829b6;
/* rgb */ color: rgb(104, 41, 182);
/* oklch */ color: oklch(45.4% 0.204 297.8);
Tailwind
colors: {
  custom: {
    50: '#9b6acd',
    500: '#6829b6',
    950: '#000000',
  },
}
SCSS
$custom: #6829b6;
$custom-light: #9b6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#6829b6",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 266.809,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45429,
    "c": 0.2043,
    "h": 297.8
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#6829B6
secondary
#A2C972
accent
#E6429D
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6829B6

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

Preview Lab → · Contrast checker → · Palette generator →

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