#6947BE#6947BE

#6947BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.178 H 291.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6947BE
RGBrgb(105, 71, 190)
HSLhsl(257, 48%, 51%)
HSVhsv(257, 63%, 75%)
CMYKcmyk(44.7%, 62.6%, 0%, 25.5%)
CIE-LABlab(39.96, 42.54, -57.77)
CIE-LCHlch(39.96, 71.74, 306.36°)
OKLaboklab(50.06% 0.0662 -0.165)
OKLCHoklch(50.06% 0.178 291.9)
XYZxyz(17.3706, 11.2269, 49.9570)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947BE #9CBE47
analogous
#4760BE #6947BE #A447BE
triadic
#6947BE #BE6947 #47BE69
tetradic
#6947BE #BE4760 #9CBE47 #47BEA4
square
#6947BE #BE4760 #9CBE47 #47BEA4
split-complementary
#6947BE #BEA447 #60BE47
monochromatic
#372466 #4F3494 #6947BE #8E74CE #B3A1DE

Accessibility & contrast

On white

6.47
#6947BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6947BE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947BE#FFFFFF#000000##FFFFFF
##6947BE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6947be;
/* rgb */ color: rgb(105, 71, 190);
/* oklch */ color: oklch(50.1% 0.178 291.9);
Tailwind
colors: {
  custom: {
    50: '#9a7cd2',
    500: '#6947be',
    950: '#000000',
  },
}
SCSS
$custom: #6947be;
$custom-light: #9a7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6947be",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 257.143,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.17782,
    "h": 291.9
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6947BE

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

Preview Lab → · Contrast checker → · Palette generator →

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