#6746BB#6746BB

#6746BB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.175 H 291.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6746BB
RGBrgb(103, 70, 187)
HSLhsl(257, 46%, 50%)
HSVhsv(257, 63%, 73%)
CMYKcmyk(44.9%, 62.6%, 0%, 26.7%)
CIE-LABlab(39.33, 41.84, -57.05)
CIE-LCHlch(39.33, 70.75, 306.26°)
OKLaboklab(49.48% 0.0648 -0.163)
OKLCHoklch(49.48% 0.175 291.7)
XYZxyz(16.7508, 10.8512, 48.2160)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746BB #9ABB46
analogous
#465FBB #6746BB #A146BB
triadic
#6746BB #BB6746 #46BB67
tetradic
#6746BB #BB465F #9ABB46 #46BBA1
square
#6746BB #BB465F #9ABB46 #46BBA1
split-complementary
#6746BB #BBA146 #5FBB46
monochromatic
#362462 #4E358F #6746BB #8C73CB #B1A0DC

Accessibility & contrast

On white

6.62
#6746BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6746BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746BB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746BB#FFFFFF#000000##FFFFFF
##6746BB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#4E617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6746bb;
/* rgb */ color: rgb(103, 70, 187);
/* oklch */ color: oklch(49.5% 0.175 291.7);
Tailwind
colors: {
  custom: {
    50: '#997bd0',
    500: '#6746bb',
    950: '#000000',
  },
}
SCSS
$custom: #6746bb;
$custom-light: #997bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6746bb",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 256.923,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.17539,
    "h": 291.7
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#6746BB
secondary
#BAC894
accent
#D652B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6746BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6746BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva