#6947AC#6947AC

#6947AC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.7% C 0.155 H 295.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6947AC
RGBrgb(105, 71, 172)
HSLhsl(260, 42%, 48%)
HSVhsv(260, 59%, 67%)
CMYKcmyk(39%, 58.7%, 0%, 32.5%)
CIE-LABlab(38.70, 37.51, -49.19)
CIE-LCHlch(38.70, 61.87, 307.33°)
OKLaboklab(48.74% 0.067 -0.1398)
OKLCHoklch(48.74% 0.155 295.6)
XYZxyz(15.5234, 10.4880, 40.2282)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947AC #8AAC47
analogous
#4757AC #6947AC #9B47AC
triadic
#6947AC #AC6947 #47AC69
tetradic
#6947AC #AC4757 #8AAC47 #47AC9B
square
#6947AC #AC4757 #8AAC47 #47AC9B
split-complementary
#6947AC #AC9B47 #57AC47
monochromatic
#342355 #4F3581 #6947AC #8A6DC3 #AD99D5

Accessibility & contrast

On white

6.78
#6947AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6947AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947AC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947AC#FFFFFF#000000##FFFFFF
##6947AC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CAF
Deuteranopia (green-blind)
#1D5AAA
Tritanopia (blue-blind)
#595D72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6947ac;
/* rgb */ color: rgb(105, 71, 172);
/* oklch */ color: oklch(48.7% 0.155 295.6);
Tailwind
colors: {
  custom: {
    50: '#987bc5',
    500: '#6947ac',
    950: '#000000',
  },
}
SCSS
$custom: #6947ac;
$custom-light: #987bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6947ac",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 260.198,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.15505,
    "h": 295.6
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#6947AC
secondary
#B0C18E
accent
#D156A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6947AC

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

Preview Lab → · Contrast checker → · Palette generator →

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