#6947BC#6947BC

#6947BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.175 H 292.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6947BC
RGBrgb(105, 71, 188)
HSLhsl(257, 47%, 51%)
HSVhsv(257, 62%, 74%)
CMYKcmyk(44.1%, 62.2%, 0%, 26.3%)
CIE-LABlab(39.82, 41.98, -56.84)
CIE-LCHlch(39.82, 70.66, 306.45°)
OKLaboklab(49.91% 0.0663 -0.1623)
OKLCHoklch(49.91% 0.175 292.2)
XYZxyz(17.1535, 11.1400, 48.8137)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947BC #9ABC47
analogous
#475FBC #6947BC #A347BC
triadic
#6947BC #BC6947 #47BC69
tetradic
#6947BC #BC475F #9ABC47 #47BCA3
square
#6947BC #BC475F #9ABC47 #47BCA3
split-complementary
#6947BC #BCA347 #5FBC47
monochromatic
#372464 #503591 #6947BC #8E74CC #B2A1DD

Accessibility & contrast

On white

6.51
#6947BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6947BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947BC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947BC#FFFFFF#000000##FFFFFF
##6947BC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#51627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6947bc;
/* rgb */ color: rgb(105, 71, 188);
/* oklch */ color: oklch(49.9% 0.175 292.2);
Tailwind
colors: {
  custom: {
    50: '#9a7cd1',
    500: '#6947bc',
    950: '#000000',
  },
}
SCSS
$custom: #6947bc;
$custom-light: #9a7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6947bc",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 257.436,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.17533,
    "h": 292.2
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6947BC

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

Preview Lab → · Contrast checker → · Palette generator →

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