#6946BF#6946BF

#6946BF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.180 H 291.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6946BF
RGBrgb(105, 70, 191)
HSLhsl(257, 49%, 51%)
HSVhsv(257, 63%, 75%)
CMYKcmyk(45%, 63.4%, 0%, 25.1%)
CIE-LABlab(39.82, 43.38, -58.58)
CIE-LCHlch(39.82, 72.90, 306.52°)
OKLaboklab(49.98% 0.0672 -0.1674)
OKLCHoklch(49.98% 0.18 291.9)
XYZxyz(17.4172, 11.1446, 50.5135)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946BF #9CBF46
analogous
#465FBF #6946BF #A546BF
triadic
#6946BF #BF6946 #46BF69
tetradic
#6946BF #BF465F #9CBF46 #46BFA5
square
#6946BF #BF465F #9CBF46 #46BFA5
split-complementary
#6946BF #BFA546 #5FBF46
monochromatic
#372467 #4F3394 #6946BF #8E73CF #B3A1DE

Accessibility & contrast

On white

6.50
#6946BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6946BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946BF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946BF#FFFFFF#000000##FFFFFF
##6946BF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#50627C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6946bf;
/* rgb */ color: rgb(105, 70, 191);
/* oklch */ color: oklch(50.0% 0.180 291.9);
Tailwind
colors: {
  custom: {
    50: '#9a7bd3',
    500: '#6946bf',
    950: '#000000',
  },
}
SCSS
$custom: #6946bf;
$custom-light: #9a7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6946bf",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 257.355,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.18041,
    "h": 291.9
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#6946BF
secondary
#BCCB96
accent
#D850B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6946BF

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

Preview Lab → · Contrast checker → · Palette generator →

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