#6745D4#6745D4

#6745D4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.207 H 287.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6745D4
RGBrgb(103, 69, 212)
HSLhsl(254, 62%, 55%)
HSVhsv(254, 67%, 83%)
CMYKcmyk(51.4%, 67.5%, 0%, 16.9%)
CIE-LABlab(41.04, 49.53, -68.78)
CIE-LCHlch(41.04, 84.75, 305.76°)
OKLaboklab(51.32% 0.0629 -0.1974)
OKLCHoklch(51.32% 0.207 287.7)
XYZxyz(19.6018, 11.8923, 63.5372)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D4 #B2D445
analogous
#456AD4 #6745D4 #AF45D4
triadic
#6745D4 #D46745 #45D467
tetradic
#6745D4 #D4456A #B2D445 #45D4AF
square
#6745D4 #D4456A #B2D445 #45D4AF
split-complementary
#6745D4 #D4AF45 #6AD445
monochromatic
#351E81 #4A29B3 #6745D4 #9077DF #B8A8EB

Accessibility & contrast

On white

6.22
#6745D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6745D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D4#FFFFFF#000000##FFFFFF
##6745D41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#3E6987
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6745d4;
/* rgb */ color: rgb(103, 69, 212);
/* oklch */ color: oklch(51.3% 0.207 287.7);
Tailwind
colors: {
  custom: {
    50: '#9c7be2',
    500: '#6745d4',
    950: '#000000',
  },
}
SCSS
$custom: #6745d4;
$custom-light: #9c7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d4",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 254.266,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.20723,
    "h": 287.7
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#6745D4
secondary
#CAD89C
accent
#E642BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6745D4

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

Preview Lab → · Contrast checker → · Palette generator →

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