#6829C2#6829C2

#6829C2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.217 H 295.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6829C2
RGBrgb(104, 41, 194)
HSLhsl(265, 65%, 46%)
HSVhsv(265, 79%, 76%)
CMYKcmyk(46.4%, 78.9%, 0%, 23.9%)
CIE-LABlab(34.85, 58.25, -68.46)
CIE-LCHlch(34.85, 89.89, 310.40°)
OKLaboklab(46.5% 0.0919 -0.1963)
OKLCHoklch(46.5% 0.217 295.1)
XYZxyz(16.2368, 8.4235, 51.7989)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829C2 #83C229
analogous
#2936C2 #6829C2 #B429C2
triadic
#6829C2 #C26829 #29C268
tetradic
#6829C2 #C22936 #83C229 #29C2B4
square
#6829C2 #C22936 #83C229 #29C2B4
split-complementary
#6829C2 #C2B429 #36C229
monochromatic
#32145D #4D1E8F #6829C2 #884EDA #AA81E4

Accessibility & contrast

On white

7.82
#6829C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6829C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829C2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829C2#FFFFFF#000000##FFFFFF
##6829C21.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#4E5476
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6829c2;
/* rgb */ color: rgb(104, 41, 194);
/* oklch */ color: oklch(46.5% 0.217 295.1);
Tailwind
colors: {
  custom: {
    50: '#9c6bd6',
    500: '#6829c2',
    950: '#000000',
  },
}
SCSS
$custom: #6829c2;
$custom-light: #9c6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6829c2",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 264.706,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.21677,
    "h": 295.1
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#6829C2
secondary
#ABCD7A
accent
#E840A3
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6829C2

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

Preview Lab → · Contrast checker → · Palette generator →

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