#6947CC#6947CC

#6947CC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.195 H 289.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6947CC
RGBrgb(105, 71, 204)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(48.5%, 65.2%, 0%, 20%)
CIE-LABlab(41.01, 46.51, -64.22)
CIE-LCHlch(41.01, 79.29, 305.91°)
OKLaboklab(51.15% 0.0648 -0.184)
OKLCHoklch(51.15% 0.195 289.4)
XYZxyz(18.9749, 11.8686, 58.4061)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947CC #AACC47
analogous
#4768CC #6947CC #AC47CC
triadic
#6947CC #CC6947 #47CC69
tetradic
#6947CC #CC4768 #AACC47 #47CCAC
square
#6947CC #CC4768 #AACC47 #47CCAC
split-complementary
#6947CC #CCAC47 #68CC47
monochromatic
#372177 #4D2EA7 #6947CC #9077D9 #B7A7E7

Accessibility & contrast

On white

6.22
#6947CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6947CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947CC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947CC#FFFFFF#000000##FFFFFF
##6947CC1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#486783
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6947cc;
/* rgb */ color: rgb(105, 71, 204);
/* oklch */ color: oklch(51.1% 0.195 289.4);
Tailwind
colors: {
  custom: {
    50: '#9c7cdc',
    500: '#6947cc',
    950: '#000000',
  },
}
SCSS
$custom: #6947cc;
$custom-light: #9c7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6947cc",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 255.338,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51145,
    "c": 0.19508,
    "h": 289.4
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#6947CC
secondary
#C5D49B
accent
#E048B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6947CC

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

Preview Lab → · Contrast checker → · Palette generator →

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