#6745D3#6745D3

#6745D3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.2% C 0.206 H 287.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6745D3
RGBrgb(103, 69, 211)
HSLhsl(254, 62%, 55%)
HSVhsv(254, 67%, 83%)
CMYKcmyk(51.2%, 67.3%, 0%, 17.3%)
CIE-LABlab(40.96, 49.24, -68.33)
CIE-LCHlch(40.96, 84.23, 305.78°)
OKLaboklab(51.24% 0.0631 -0.1961)
OKLCHoklch(51.24% 0.206 287.8)
XYZxyz(19.4761, 11.8420, 62.8749)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D3 #B1D345
analogous
#456AD3 #6745D3 #AE45D3
triadic
#6745D3 #D36745 #45D367
tetradic
#6745D3 #D3456A #B1D345 #45D3AE
square
#6745D3 #D3456A #B1D345 #45D3AE
split-complementary
#6745D3 #D3AE45 #6AD345
monochromatic
#351E7F #4A2AB1 #6745D3 #8F76DF #B8A8EA

Accessibility & contrast

On white

6.23
#6745D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6745D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D3#FFFFFF#000000##FFFFFF
##6745D31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#3F6986
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6745d3;
/* rgb */ color: rgb(103, 69, 211);
/* oklch */ color: oklch(51.2% 0.206 287.8);
Tailwind
colors: {
  custom: {
    50: '#9c7be2',
    500: '#6745d3',
    950: '#000000',
  },
}
SCSS
$custom: #6745d3;
$custom-light: #9c7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d3",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 254.366,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.20604,
    "h": 287.8
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#6745D3
secondary
#C9D89C
accent
#E543BE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6745D3

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

Preview Lab → · Contrast checker → · Palette generator →

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