#6956BA#6956BA

#6956BA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.3% C 0.151 H 288.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6956BA
RGBrgb(105, 86, 186)
HSLhsl(251, 42%, 53%)
HSVhsv(251, 54%, 73%)
CMYKcmyk(43.5%, 53.8%, 0%, 27.1%)
CIE-LABlab(43.07, 32.60, -50.42)
CIE-LCHlch(43.07, 60.04, 302.89°)
OKLaboklab(52.26% 0.0488 -0.1434)
OKLCHoklch(52.26% 0.151 288.8)
XYZxyz(18.0139, 13.2034, 48.0442)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956BA #A7BA56
analogous
#5675BA #6956BA #9B56BA
triadic
#6956BA #BA6956 #56BA69
tetradic
#6956BA #BA5675 #A7BA56 #56BA9B
square
#6956BA #BA5675 #A7BA56 #56BA9B
split-complementary
#6956BA #BA9B56 #75BA56
monochromatic
#372B6A #4E3D96 #6956BA #9081CC #B6ADDD

Accessibility & contrast

On white

5.77
#6956BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6956BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956BA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956BA#FFFFFF#000000##FFFFFF
##6956BA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#2763B8
Tritanopia (blue-blind)
#516B80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6956ba;
/* rgb */ color: rgb(105, 86, 186);
/* oklch */ color: oklch(52.3% 0.151 288.8);
Tailwind
colors: {
  custom: {
    50: '#9986cf',
    500: '#6956ba',
    950: '#000000',
  },
}
SCSS
$custom: #6956ba;
$custom-light: #9986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6956ba",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 251.4,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.15146,
    "h": 288.8
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#6956BA
secondary
#C3CBA0
accent
#D256BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6956BA

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

Preview Lab → · Contrast checker → · Palette generator →

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