#6947BD#6947BD

#6947BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.177 H 292.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6947BD
RGBrgb(105, 71, 189)
HSLhsl(257, 47%, 51%)
HSVhsv(257, 62%, 74%)
CMYKcmyk(44.4%, 62.4%, 0%, 25.9%)
CIE-LABlab(39.89, 42.26, -57.31)
CIE-LCHlch(39.89, 71.20, 306.40°)
OKLaboklab(49.98% 0.0663 -0.1637)
OKLCHoklch(49.98% 0.177 292)
XYZxyz(17.2617, 11.1833, 49.3833)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947BD #9BBD47
analogous
#4760BD #6947BD #A447BD
triadic
#6947BD #BD6947 #47BD69
tetradic
#6947BD #BD4760 #9BBD47 #47BDA4
square
#6947BD #BD4760 #9BBD47 #47BDA4
split-complementary
#6947BD #BDA447 #60BD47
monochromatic
#372465 #503492 #6947BD #8E74CD #B2A1DD

Accessibility & contrast

On white

6.49
#6947BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6947BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947BD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947BD#FFFFFF#000000##FFFFFF
##6947BD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#51627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6947bd;
/* rgb */ color: rgb(105, 71, 189);
/* oklch */ color: oklch(50.0% 0.177 292.0);
Tailwind
colors: {
  custom: {
    50: '#9a7cd2',
    500: '#6947bd',
    950: '#000000',
  },
}
SCSS
$custom: #6947bd;
$custom-light: #9a7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6947bd",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 257.288,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.17658,
    "h": 292
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#6947BD
secondary
#BBCA96
accent
#D751B0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6947BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6947BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva