#6947BB#6947BB

#6947BB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.174 H 292.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6947BB
RGBrgb(105, 71, 187)
HSLhsl(258, 46%, 51%)
HSVhsv(258, 62%, 73%)
CMYKcmyk(43.9%, 62%, 0%, 26.7%)
CIE-LABlab(39.74, 41.69, -56.37)
CIE-LCHlch(39.74, 70.11, 306.49°)
OKLaboklab(49.83% 0.0664 -0.1609)
OKLCHoklch(49.83% 0.174 292.4)
XYZxyz(17.0461, 11.0971, 48.2479)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947BB #99BB47
analogous
#475FBB #6947BB #A347BB
triadic
#6947BB #BB6947 #47BB69
tetradic
#6947BB #BB475F #99BB47 #47BBA3
square
#6947BB #BB475F #99BB47 #47BBA3
split-complementary
#6947BB #BBA347 #5FBB47
monochromatic
#372563 #503590 #6947BB #8D74CC #B2A0DC

Accessibility & contrast

On white

6.52
#6947BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6947BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947BB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947BB#FFFFFF#000000##FFFFFF
##6947BB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#52627A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6947bb;
/* rgb */ color: rgb(105, 71, 187);
/* oklch */ color: oklch(49.8% 0.174 292.4);
Tailwind
colors: {
  custom: {
    50: '#9a7cd0',
    500: '#6947bb',
    950: '#000000',
  },
}
SCSS
$custom: #6947bb;
$custom-light: #9a7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6947bb",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 257.586,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49832,
    "c": 0.17408,
    "h": 292.4
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#6947BB
secondary
#BAC995
accent
#D652AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6947BB

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

Preview Lab → · Contrast checker → · Palette generator →

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