#6745C2#6745C2

#6745C2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.185 H 290.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6745C2
RGBrgb(103, 69, 194)
HSLhsl(256, 51%, 52%)
HSVhsv(256, 64%, 76%)
CMYKcmyk(46.9%, 64.4%, 0%, 23.9%)
CIE-LABlab(39.64, 44.39, -60.64)
CIE-LCHlch(39.64, 75.15, 306.21°)
OKLaboklab(49.87% 0.0652 -0.1735)
OKLCHoklch(49.87% 0.185 290.6)
XYZxyz(17.4565, 11.0342, 52.2385)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745C2 #A0C245
analogous
#4562C2 #6745C2 #A645C2
triadic
#6745C2 #C26745 #45C267
tetradic
#6745C2 #C24562 #A0C245 #45C2A6
square
#6745C2 #C24562 #A0C245 #45C2A6
split-complementary
#6745C2 #C2A645 #62C245
monochromatic
#36236A #4E3298 #6745C2 #8D73D1 #B2A1E0

Accessibility & contrast

On white

6.55
#6745C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6745C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745C2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745C2#FFFFFF#000000##FFFFFF
##6745C21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#4A637D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6745c2;
/* rgb */ color: rgb(103, 69, 194);
/* oklch */ color: oklch(49.9% 0.185 290.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bd5',
    500: '#6745c2',
    950: '#000000',
  },
}
SCSS
$custom: #6745c2;
$custom-light: #9a7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6745c2",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 256.32,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.18541,
    "h": 290.6
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#6745C2
secondary
#BECD96
accent
#DA4EB4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6745C2

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

Preview Lab → · Contrast checker → · Palette generator →

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