#6745C6#6745C6

#6745C6 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.190 H 289.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6745C6
RGBrgb(103, 69, 198)
HSLhsl(256, 53%, 52%)
HSVhsv(256, 65%, 78%)
CMYKcmyk(48%, 65.2%, 0%, 22.4%)
CIE-LABlab(39.94, 45.53, -62.48)
CIE-LCHlch(39.94, 77.31, 306.08°)
OKLaboklab(50.19% 0.0648 -0.1789)
OKLCHoklch(50.19% 0.19 289.9)
XYZxyz(17.9118, 11.2163, 54.6363)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745C6 #A4C645
analogous
#4564C6 #6745C6 #A745C6
triadic
#6745C6 #C66745 #45C667
tetradic
#6745C6 #C64564 #A4C645 #45C6A7
square
#6745C6 #C64564 #A4C645 #45C6A7
split-complementary
#6745C6 #C6A745 #64C645
monochromatic
#36226F #4D309E #6745C6 #8D74D4 #B4A3E3

Accessibility & contrast

On white

6.47
#6745C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6745C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745C6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745C6#FFFFFF#000000##FFFFFF
##6745C61.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#48647F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6745c6;
/* rgb */ color: rgb(103, 69, 198);
/* oklch */ color: oklch(50.2% 0.190 289.9);
Tailwind
colors: {
  custom: {
    50: '#9a7bd8',
    500: '#6745c6',
    950: '#000000',
  },
}
SCSS
$custom: #6745c6;
$custom-light: #9a7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6745c6",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 255.814,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50186,
    "c": 0.19031,
    "h": 289.9
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#6745C6
secondary
#C1CF97
accent
#DC4BB6
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745C6

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

Preview Lab → · Contrast checker → · Palette generator →

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