#6946BC#6946BC

#6946BC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.177 H 292.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6946BC
RGBrgb(105, 70, 188)
HSLhsl(258, 47%, 51%)
HSVhsv(258, 63%, 74%)
CMYKcmyk(44.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(39.60, 42.54, -57.18)
CIE-LCHlch(39.60, 71.27, 306.65°)
OKLaboklab(49.75% 0.0675 -0.1633)
OKLCHoklch(49.75% 0.177 292.4)
XYZxyz(17.0905, 11.0139, 48.7926)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946BC #99BC46
analogous
#465EBC #6946BC #A446BC
triadic
#6946BC #BC6946 #46BC69
tetradic
#6946BC #BC465E #99BC46 #46BCA4
square
#6946BC #BC465E #99BC46 #46BCA4
split-complementary
#6946BC #BCA446 #5EBC46
monochromatic
#372464 #503490 #6946BC #8D73CC #B2A0DD

Accessibility & contrast

On white

6.56
#6946BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6946BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946BC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946BC#FFFFFF#000000##FFFFFF
##6946BC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#51617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6946bc;
/* rgb */ color: rgb(105, 70, 188);
/* oklch */ color: oklch(49.8% 0.177 292.4);
Tailwind
colors: {
  custom: {
    50: '#9a7bd1',
    500: '#6946bc',
    950: '#000000',
  },
}
SCSS
$custom: #6946bc;
$custom-light: #9a7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6946bc",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 257.797,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.17668,
    "h": 292.4
  },
  "luminance": 0.11014
}

Semantic roles & 50–950 ramp

primary
#6946BC
secondary
#BAC995
accent
#D651AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6946BC

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

Preview Lab → · Contrast checker → · Palette generator →

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