#6946BD#6946BD

#6946BD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.178 H 292.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6946BD
RGBrgb(105, 70, 189)
HSLhsl(258, 47%, 51%)
HSVhsv(258, 63%, 74%)
CMYKcmyk(44.4%, 63%, 0%, 25.9%)
CIE-LABlab(39.68, 42.82, -57.65)
CIE-LCHlch(39.68, 71.81, 306.60°)
OKLaboklab(49.83% 0.0674 -0.1647)
OKLCHoklch(49.83% 0.178 292.3)
XYZxyz(17.1986, 11.0572, 49.3623)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946BD #9ABD46
analogous
#465EBD #6946BD #A446BD
triadic
#6946BD #BD6946 #46BD69
tetradic
#6946BD #BD465E #9ABD46 #46BDA4
square
#6946BD #BD465E #9ABD46 #46BDA4
split-complementary
#6946BD #BDA446 #5EBD46
monochromatic
#372465 #503492 #6946BD #8E73CD #B2A0DD

Accessibility & contrast

On white

6.54
#6946BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6946BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946BD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946BD#FFFFFF#000000##FFFFFF
##6946BD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#51627B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6946bd;
/* rgb */ color: rgb(105, 70, 189);
/* oklch */ color: oklch(49.8% 0.178 292.3);
Tailwind
colors: {
  custom: {
    50: '#9a7bd2',
    500: '#6946bd',
    950: '#000000',
  },
}
SCSS
$custom: #6946bd;
$custom-light: #9a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6946bd",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 257.647,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.17792,
    "h": 292.3
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#6946BD
secondary
#BACA95
accent
#D751B0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6946BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6946BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva