#6829B3#6829B3

#6829B3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.201 H 298.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6829B3
RGBrgb(104, 41, 179)
HSLhsl(267, 63%, 43%)
HSVhsv(267, 77%, 70%)
CMYKcmyk(41.9%, 77.1%, 0%, 29.8%)
CIE-LABlab(33.53, 54.52, -61.76)
CIE-LCHlch(33.53, 82.38, 311.44°)
OKLaboklab(45.17% 0.0962 -0.1767)
OKLCHoklch(45.17% 0.201 298.6)
XYZxyz(14.6365, 7.7834, 43.3703)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829B3 #74B329
analogous
#292FB3 #6829B3 #AD29B3
triadic
#6829B3 #B36829 #29B368
tetradic
#6829B3 #B3292F #74B329 #29B3AD
square
#6829B3 #B3292F #74B329 #29B3AD
split-complementary
#6829B3 #B3AD29 #2FB329
monochromatic
#2E124F #4B1E81 #6829B3 #8645D4 #A777E0

Accessibility & contrast

On white

8.21
#6829B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6829B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829B3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829B3#FFFFFF#000000##FFFFFF
##6829B31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#554E6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6829b3;
/* rgb */ color: rgb(104, 41, 179);
/* oklch */ color: oklch(45.2% 0.201 298.6);
Tailwind
colors: {
  custom: {
    50: '#9a6acb',
    500: '#6829b3',
    950: '#000000',
  },
}
SCSS
$custom: #6829b3;
$custom-light: #9a6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#6829b3",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 267.391,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.20117,
    "h": 298.6
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#6829B3
secondary
#A0C770
accent
#E6429B
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6829B3

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

Preview Lab → · Contrast checker → · Palette generator →

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