#6947BF#6947BF

#6947BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.179 H 291.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6947BF
RGBrgb(105, 71, 191)
HSLhsl(257, 48%, 51%)
HSVhsv(257, 63%, 75%)
CMYKcmyk(45%, 62.8%, 0%, 25.1%)
CIE-LABlab(40.03, 42.82, -58.24)
CIE-LCHlch(40.03, 72.29, 306.33°)
OKLaboklab(50.13% 0.0661 -0.1664)
OKLCHoklch(50.13% 0.179 291.7)
XYZxyz(17.4803, 11.2707, 50.5346)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947BF #9DBF47
analogous
#4761BF #6947BF #A547BF
triadic
#6947BF #BF6947 #47BF69
tetradic
#6947BF #BF4761 #9DBF47 #47BFA5
square
#6947BF #BF4761 #9DBF47 #47BFA5
split-complementary
#6947BF #BFA547 #61BF47
monochromatic
#372468 #4F3495 #6947BF #8E74CF #B3A2DF

Accessibility & contrast

On white

6.45
#6947BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6947BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947BF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947BF#FFFFFF#000000##FFFFFF
##6947BF1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6947bf;
/* rgb */ color: rgb(105, 71, 191);
/* oklch */ color: oklch(50.1% 0.179 291.7);
Tailwind
colors: {
  custom: {
    50: '#9a7cd3',
    500: '#6947bf',
    950: '#000000',
  },
}
SCSS
$custom: #6947bf;
$custom-light: #9a7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6947bf",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 257,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50134,
    "c": 0.17907,
    "h": 291.7
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6947BF

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

Preview Lab → · Contrast checker → · Palette generator →

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