#6745B8#6745B8

#6745B8 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.173 H 292.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6745B8
RGBrgb(103, 69, 184)
HSLhsl(258, 45%, 50%)
HSVhsv(258, 63%, 72%)
CMYKcmyk(44%, 62.5%, 0%, 27.8%)
CIE-LABlab(38.90, 41.56, -55.98)
CIE-LCHlch(38.90, 69.73, 306.59°)
OKLaboklab(49.1% 0.0661 -0.1598)
OKLCHoklch(49.1% 0.173 292.5)
XYZxyz(16.3710, 10.6000, 46.5216)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745B8 #96B845
analogous
#455DB8 #6745B8 #A145B8
triadic
#6745B8 #B86745 #45B867
tetradic
#6745B8 #B8455D #96B845 #45B8A1
square
#6745B8 #B8455D #96B845 #45B8A1
split-complementary
#6745B8 #B8A145 #5DB845
monochromatic
#35245F #4E348B #6745B8 #8B71CA #AF9DDA

Accessibility & contrast

On white

6.73
#6745B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6745B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745B8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745B8#FFFFFF#000000##FFFFFF
##6745B81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#505F78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6745b8;
/* rgb */ color: rgb(103, 69, 184);
/* oklch */ color: oklch(49.1% 0.173 292.5);
Tailwind
colors: {
  custom: {
    50: '#987ace',
    500: '#6745b8',
    950: '#000000',
  },
}
SCSS
$custom: #6745b8;
$custom-light: #987ace;
$custom-dark: #000000;
JSON
{
  "hex": "#6745b8",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 257.739,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.17299,
    "h": 292.5
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#6745B8
secondary
#B7C792
accent
#D553AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6745B8

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

Preview Lab → · Contrast checker → · Palette generator →

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