#6946BE#6946BE

#6946BE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.179 H 292.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6946BE
RGBrgb(105, 70, 190)
HSLhsl(258, 48%, 51%)
HSVhsv(258, 63%, 75%)
CMYKcmyk(44.7%, 63.2%, 0%, 25.5%)
CIE-LABlab(39.75, 43.10, -58.11)
CIE-LCHlch(39.75, 72.35, 306.56°)
OKLaboklab(49.91% 0.0673 -0.166)
OKLCHoklch(49.91% 0.179 292.1)
XYZxyz(17.3076, 11.1007, 49.9360)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946BE #9BBE46
analogous
#465FBE #6946BE #A546BE
triadic
#6946BE #BE6946 #46BE69
tetradic
#6946BE #BE465F #9BBE46 #46BEA5
square
#6946BE #BE465F #9BBE46 #46BEA5
split-complementary
#6946BE #BEA546 #5FBE46
monochromatic
#372466 #503493 #6946BE #8E73CE #B2A1DE

Accessibility & contrast

On white

6.52
#6946BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6946BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946BE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946BE#FFFFFF#000000##FFFFFF
##6946BE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#50627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6946be;
/* rgb */ color: rgb(105, 70, 190);
/* oklch */ color: oklch(49.9% 0.179 292.1);
Tailwind
colors: {
  custom: {
    50: '#9a7bd2',
    500: '#6946be',
    950: '#000000',
  },
}
SCSS
$custom: #6946be;
$custom-light: #9a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6946be",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 257.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.17917,
    "h": 292.1
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#6946BE
secondary
#BBCA95
accent
#D850B0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6946BE

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

Preview Lab → · Contrast checker → · Palette generator →

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