#6956BF#6956BF

#6956BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.6% C 0.158 H 288.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6956BF
RGBrgb(105, 86, 191)
HSLhsl(251, 45%, 54%)
HSVhsv(251, 55%, 75%)
CMYKcmyk(45%, 55%, 0%, 25.1%)
CIE-LABlab(43.39, 34.07, -52.82)
CIE-LCHlch(43.39, 62.85, 302.82°)
OKLaboklab(52.6% 0.049 -0.1504)
OKLCHoklch(52.6% 0.158 288)
XYZxyz(18.5548, 13.4197, 50.8927)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956BF #ACBF56
analogous
#5678BF #6956BF #9E56BF
triadic
#6956BF #BF6956 #56BF69
tetradic
#6956BF #BF5678 #ACBF56 #56BF9E
square
#6956BF #BF5678 #ACBF56 #56BF9E
split-complementary
#6956BF #BF9E56 #78BF56
monochromatic
#372A70 #4D3B9D #6956BF #9082D0 #B8AFE1

Accessibility & contrast

On white

5.70
#6956BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6956BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956BF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956BF#FFFFFF#000000##FFFFFF
##6956BF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#1E64BD
Tritanopia (blue-blind)
#4E6D82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6956bf;
/* rgb */ color: rgb(105, 86, 191);
/* oklch */ color: oklch(52.6% 0.158 288.0);
Tailwind
colors: {
  custom: {
    50: '#9986d3',
    500: '#6956bf',
    950: '#000000',
  },
}
SCSS
$custom: #6956bf;
$custom-light: #9986d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6956bf",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 250.857,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.15821,
    "h": 288
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#6956BF
secondary
#C7CFA2
accent
#D553BD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6956BF

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

Preview Lab → · Contrast checker → · Palette generator →

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