#6745BD#6745BD

#6745BD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.179 H 291.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6745BD
RGBrgb(103, 69, 189)
HSLhsl(257, 48%, 51%)
HSVhsv(257, 63%, 74%)
CMYKcmyk(45.5%, 63.5%, 0%, 25.9%)
CIE-LABlab(39.26, 42.98, -58.33)
CIE-LCHlch(39.26, 72.45, 306.38°)
OKLaboklab(49.48% 0.0657 -0.1667)
OKLCHoklch(49.48% 0.179 291.5)
XYZxyz(16.9044, 10.8134, 49.3308)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745BD #9BBD45
analogous
#455FBD #6745BD #A345BD
triadic
#6745BD #BD6745 #45BD67
tetradic
#6745BD #BD455F #9BBD45 #45BDA3
square
#6745BD #BD455F #9BBD45 #45BDA3
split-complementary
#6745BD #BDA345 #5FBD45
monochromatic
#362464 #4E3491 #6745BD #8C72CD #B19FDD

Accessibility & contrast

On white

6.64
#6745BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6745BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745BD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745BD#FFFFFF#000000##FFFFFF
##6745BD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#4D617B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6745bd;
/* rgb */ color: rgb(103, 69, 189);
/* oklch */ color: oklch(49.5% 0.179 291.5);
Tailwind
colors: {
  custom: {
    50: '#997ad2',
    500: '#6745bd',
    950: '#000000',
  },
}
SCSS
$custom: #6745bd;
$custom-light: #997ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6745bd",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 257,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.17922,
    "h": 291.5
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#6745BD
secondary
#BACA94
accent
#D751B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6745BD

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

Preview Lab → · Contrast checker → · Palette generator →

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