#6945BF#6945BF

#6945BF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.182 H 292.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6945BF
RGBrgb(105, 69, 191)
HSLhsl(258, 49%, 51%)
HSVhsv(258, 64%, 75%)
CMYKcmyk(45%, 63.9%, 0%, 25.1%)
CIE-LABlab(39.62, 43.94, -58.92)
CIE-LCHlch(39.62, 73.50, 306.72°)
OKLaboklab(49.83% 0.0683 -0.1684)
OKLCHoklch(49.83% 0.182 292.1)
XYZxyz(17.3552, 11.0205, 50.4929)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945BF #9BBF45
analogous
#455EBF #6945BF #A645BF
triadic
#6945BF #BF6945 #45BF69
tetradic
#6945BF #BF455E #9BBF45 #45BFA6
square
#6945BF #BF455E #9BBF45 #45BFA6
split-complementary
#6945BF #BFA645 #5EBF45
monochromatic
#372366 #503394 #6945BF #8E73CF #B2A0DE

Accessibility & contrast

On white

6.55
#6945BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6945BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945BF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945BF#FFFFFF#000000##FFFFFF
##6945BF1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#50627C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6945bf;
/* rgb */ color: rgb(105, 69, 191);
/* oklch */ color: oklch(49.8% 0.182 292.1);
Tailwind
colors: {
  custom: {
    50: '#9a7bd3',
    500: '#6945bf',
    950: '#000000',
  },
}
SCSS
$custom: #6945bf;
$custom-light: #9a7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6945bf",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 257.705,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.18173,
    "h": 292.1
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#6945BF
secondary
#BBCB95
accent
#D84FB0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6945BF

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

Preview Lab → · Contrast checker → · Palette generator →

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