#6947BA#6947BA

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

Color values

HEX#6947BA
RGBrgb(105, 71, 186)
HSLhsl(258, 45%, 50%)
HSVhsv(258, 62%, 73%)
CMYKcmyk(43.5%, 61.8%, 0%, 27.1%)
CIE-LABlab(39.67, 41.41, -55.90)
CIE-LCHlch(39.67, 69.57, 306.53°)
OKLaboklab(49.76% 0.0665 -0.1595)
OKLCHoklch(49.76% 0.173 292.6)
XYZxyz(16.9394, 11.0544, 47.6861)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947BA #98BA47
analogous
#475EBA #6947BA #A247BA
triadic
#6947BA #BA6947 #47BA69
tetradic
#6947BA #BA475E #98BA47 #47BAA2
square
#6947BA #BA475E #98BA47 #47BAA2
split-complementary
#6947BA #BAA247 #5EBA47
monochromatic
#372562 #50358E #6947BA #8D74CB #B2A0DB

Accessibility & contrast

On white

6.54
#6947BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6947BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947BA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947BA#FFFFFF#000000##FFFFFF
##6947BA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#52617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6947ba;
/* rgb */ color: rgb(105, 71, 186);
/* oklch */ color: oklch(49.8% 0.173 292.6);
Tailwind
colors: {
  custom: {
    50: '#9a7ccf',
    500: '#6947ba',
    950: '#000000',
  },
}
SCSS
$custom: #6947ba;
$custom-light: #9a7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#6947ba",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 257.739,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.17282,
    "h": 292.6
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#6947BA
secondary
#B9C895
accent
#D553AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6947BA

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

Preview Lab → · Contrast checker → · Palette generator →

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