#6745B2#6745B2

#6745B2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.165 H 293.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6745B2
RGBrgb(103, 69, 178)
HSLhsl(259, 44%, 48%)
HSVhsv(259, 61%, 70%)
CMYKcmyk(42.1%, 61.2%, 0%, 30.2%)
CIE-LABlab(38.47, 39.88, -53.14)
CIE-LCHlch(38.47, 66.44, 306.89°)
OKLaboklab(48.65% 0.0665 -0.1515)
OKLCHoklch(48.65% 0.165 293.7)
XYZxyz(15.7554, 10.3538, 43.2792)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745B2 #90B245
analogous
#4559B2 #6745B2 #9D45B2
triadic
#6745B2 #B26745 #45B267
tetradic
#6745B2 #B24559 #90B245 #45B29D
square
#6745B2 #B24559 #90B245 #45B29D
split-complementary
#6745B2 #B29D45 #59B245
monochromatic
#34235A #4D3486 #6745B2 #896EC7 #AD9AD8

Accessibility & contrast

On white

6.84
#6745B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6745B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745B2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745B2#FFFFFF#000000##FFFFFF
##6745B21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#535D75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6745b2;
/* rgb */ color: rgb(103, 69, 178);
/* oklch */ color: oklch(48.7% 0.165 293.7);
Tailwind
colors: {
  custom: {
    50: '#987aca',
    500: '#6745b2',
    950: '#000000',
  },
}
SCSS
$custom: #6745b2;
$custom-light: #987aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6745b2",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 258.716,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.16544,
    "h": 293.7
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#6745B2
secondary
#B3C48F
accent
#D454AC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6745B2

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

Preview Lab → · Contrast checker → · Palette generator →

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