#6745BC#6745BC

#6745BC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.178 H 291.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6745BC
RGBrgb(103, 69, 188)
HSLhsl(257, 47%, 50%)
HSVhsv(257, 63%, 74%)
CMYKcmyk(45.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(39.19, 42.69, -57.86)
CIE-LCHlch(39.19, 71.91, 306.42°)
OKLaboklab(49.41% 0.0658 -0.1654)
OKLCHoklch(49.41% 0.178 291.7)
XYZxyz(16.7962, 10.7701, 48.7611)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745BC #9ABC45
analogous
#455EBC #6745BC #A345BC
triadic
#6745BC #BC6745 #45BC67
tetradic
#6745BC #BC455E #9ABC45 #45BCA3
square
#6745BC #BC455E #9ABC45 #45BCA3
split-complementary
#6745BC #BCA345 #5EBC45
monochromatic
#362463 #4E3490 #6745BC #8C72CC #B19FDC

Accessibility & contrast

On white

6.66
#6745BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6745BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745BC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745BC#FFFFFF#000000##FFFFFF
##6745BC1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#4E617A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6745bc;
/* rgb */ color: rgb(103, 69, 188);
/* oklch */ color: oklch(49.4% 0.178 291.7);
Tailwind
colors: {
  custom: {
    50: '#997ad1',
    500: '#6745bc',
    950: '#000000',
  },
}
SCSS
$custom: #6745bc;
$custom-light: #997ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6745bc",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 257.143,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.17798,
    "h": 291.7
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#6745BC
secondary
#BAC994
accent
#D751B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6745BC

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

Preview Lab → · Contrast checker → · Palette generator →

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