#6945BD#6945BD

#6945BD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.179 H 292.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6945BD
RGBrgb(105, 69, 189)
HSLhsl(258, 48%, 51%)
HSVhsv(258, 63%, 74%)
CMYKcmyk(44.4%, 63.5%, 0%, 25.9%)
CIE-LABlab(39.47, 43.38, -57.99)
CIE-LCHlch(39.47, 72.42, 306.80°)
OKLaboklab(49.68% 0.0685 -0.1657)
OKLCHoklch(49.68% 0.179 292.5)
XYZxyz(17.1366, 10.9331, 49.3416)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945BD #99BD45
analogous
#455DBD #6945BD #A545BD
triadic
#6945BD #BD6945 #45BD69
tetradic
#6945BD #BD455D #99BD45 #45BDA5
square
#6945BD #BD455D #99BD45 #45BDA5
split-complementary
#6945BD #BDA545 #5DBD45
monochromatic
#372464 #503491 #6945BD #8D72CD #B29FDD

Accessibility & contrast

On white

6.59
#6945BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6945BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945BD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945BD#FFFFFF#000000##FFFFFF
##6945BD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6945bd;
/* rgb */ color: rgb(105, 69, 189);
/* oklch */ color: oklch(49.7% 0.179 292.5);
Tailwind
colors: {
  custom: {
    50: '#9a7bd2',
    500: '#6945bd',
    950: '#000000',
  },
}
SCSS
$custom: #6945bd;
$custom-light: #9a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6945bd",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 258,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.17926,
    "h": 292.5
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#6945BD
secondary
#BACA94
accent
#D751AF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6945BD

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

Preview Lab → · Contrast checker → · Palette generator →

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