#6829B2#6829B2

#6829B2 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.200 H 298.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6829B2
RGBrgb(104, 41, 178)
HSLhsl(268, 63%, 43%)
HSVhsv(268, 77%, 70%)
CMYKcmyk(41.6%, 77%, 0%, 30.2%)
CIE-LABlab(33.44, 54.27, -61.31)
CIE-LCHlch(33.44, 81.88, 311.52°)
OKLaboklab(45.08% 0.0965 -0.1753)
OKLCHoklch(45.08% 0.2 298.8)
XYZxyz(14.5357, 7.7431, 42.8396)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829B2 #73B229
analogous
#292FB2 #6829B2 #AC29B2
triadic
#6829B2 #B26829 #29B268
tetradic
#6829B2 #B2292F #73B229 #29B2AC
square
#6829B2 #B2292F #73B229 #29B2AC
split-complementary
#6829B2 #B2AC29 #2FB229
monochromatic
#2E124F #4B1E80 #6829B2 #8644D4 #A676DF

Accessibility & contrast

On white

8.24
#6829B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6829B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829B2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829B2#FFFFFF#000000##FFFFFF
##6829B21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#564E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6829b2;
/* rgb */ color: rgb(104, 41, 178);
/* oklch */ color: oklch(45.1% 0.200 298.8);
Tailwind
colors: {
  custom: {
    50: '#9a6aca',
    500: '#6829b2',
    950: '#000000',
  },
}
SCSS
$custom: #6829b2;
$custom-light: #9a6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6829b2",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 267.591,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.20013,
    "h": 298.8
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#6829B2
secondary
#9FC770
accent
#E6429A
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6829B2

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

Preview Lab → · Contrast checker → · Palette generator →

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