#6745BE#6745BE

#6745BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.180 H 291.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6745BE
RGBrgb(103, 69, 190)
HSLhsl(257, 48%, 51%)
HSVhsv(257, 64%, 75%)
CMYKcmyk(45.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(39.34, 43.26, -58.79)
CIE-LCHlch(39.34, 72.99, 306.35°)
OKLaboklab(49.56% 0.0656 -0.1681)
OKLCHoklch(49.56% 0.18 291.3)
XYZxyz(17.0133, 10.8569, 49.9044)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745BE #9CBE45
analogous
#455FBE #6745BE #A445BE
triadic
#6745BE #BE6745 #45BE67
tetradic
#6745BE #BE455F #9CBE45 #45BEA4
square
#6745BE #BE455F #9CBE45 #45BEA4
split-complementary
#6745BE #BEA445 #5FBE45
monochromatic
#362365 #4E3393 #6745BE #8C72CE #B1A0DE

Accessibility & contrast

On white

6.62
#6745BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6745BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745BE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745BE#FFFFFF#000000##FFFFFF
##6745BE1.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)
#005FC2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#4D617B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6745be;
/* rgb */ color: rgb(103, 69, 190);
/* oklch */ color: oklch(49.6% 0.180 291.3);
Tailwind
colors: {
  custom: {
    50: '#997ad2',
    500: '#6745be',
    950: '#000000',
  },
}
SCSS
$custom: #6745be;
$custom-light: #997ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6745be",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 256.86,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.18046,
    "h": 291.3
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#6745BE
secondary
#BBCA95
accent
#D850B2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6745BE

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

Preview Lab → · Contrast checker → · Palette generator →

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