#6945BC#6945BC

#6945BC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.178 H 292.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6945BC
RGBrgb(105, 69, 188)
HSLhsl(258, 47%, 50%)
HSVhsv(258, 63%, 74%)
CMYKcmyk(44.1%, 63.3%, 0%, 26.3%)
CIE-LABlab(39.39, 43.10, -57.52)
CIE-LCHlch(39.39, 71.88, 306.85°)
OKLaboklab(49.6% 0.0686 -0.1643)
OKLCHoklch(49.6% 0.178 292.7)
XYZxyz(17.0284, 10.8898, 48.7719)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945BC #98BC45
analogous
#455CBC #6945BC #A445BC
triadic
#6945BC #BC6945 #45BC69
tetradic
#6945BC #BC455C #98BC45 #45BCA4
square
#6945BC #BC455C #98BC45 #45BCA4
split-complementary
#6945BC #BCA445 #5CBC45
monochromatic
#372463 #503490 #6945BC #8D72CC #B29FDC

Accessibility & contrast

On white

6.61
#6945BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6945BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945BC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945BC#FFFFFF#000000##FFFFFF
##6945BC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#51617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6945bc;
/* rgb */ color: rgb(105, 69, 188);
/* oklch */ color: oklch(49.6% 0.178 292.7);
Tailwind
colors: {
  custom: {
    50: '#9a7bd1',
    500: '#6945bc',
    950: '#000000',
  },
}
SCSS
$custom: #6945bc;
$custom-light: #9a7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6945bc",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 258.151,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.17803,
    "h": 292.7
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#6945BC
secondary
#B9C994
accent
#D751AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6945BC

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

Preview Lab → · Contrast checker → · Palette generator →

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