#6745D5#6745D5

#6745D5 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.208 H 287.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6745D5
RGBrgb(103, 69, 213)
HSLhsl(254, 63%, 55%)
HSVhsv(254, 68%, 84%)
CMYKcmyk(51.6%, 67.6%, 0%, 16.5%)
CIE-LABlab(41.13, 49.81, -69.22)
CIE-LCHlch(41.13, 85.28, 305.74°)
OKLaboklab(51.41% 0.0628 -0.1987)
OKLCHoklch(51.41% 0.208 287.5)
XYZxyz(19.7283, 11.9429, 64.2036)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D5 #B3D545
analogous
#456BD5 #6745D5 #AF45D5
triadic
#6745D5 #D56745 #45D567
tetradic
#6745D5 #D5456B #B3D545 #45D5AF
square
#6745D5 #D5456B #B3D545 #45D5AF
split-complementary
#6745D5 #D5AF45 #6BD545
monochromatic
#351D82 #4A29B4 #6745D5 #9077E0 #B9A9EC

Accessibility & contrast

On white

6.20
#6745D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6745D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D5#FFFFFF#000000##FFFFFF
##6745D51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#3D6A87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6745d5;
/* rgb */ color: rgb(103, 69, 213);
/* oklch */ color: oklch(51.4% 0.208 287.5);
Tailwind
colors: {
  custom: {
    50: '#9c7be3',
    500: '#6745d5',
    950: '#000000',
  },
}
SCSS
$custom: #6745d5;
$custom-light: #9c7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d5",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 254.167,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51406,
    "c": 0.20843,
    "h": 287.5
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#6745D5
secondary
#CBD99D
accent
#E642BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6745D5

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

Preview Lab → · Contrast checker → · Palette generator →

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