#6745D6#6745D6

#6745D6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.210 H 287.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6745D6
RGBrgb(103, 69, 214)
HSLhsl(254, 64%, 55%)
HSVhsv(254, 68%, 84%)
CMYKcmyk(51.9%, 67.8%, 0%, 16.1%)
CIE-LABlab(41.21, 50.10, -69.66)
CIE-LCHlch(41.21, 85.81, 305.72°)
OKLaboklab(51.49% 0.0626 -0.2)
OKLCHoklch(51.49% 0.21 287.4)
XYZxyz(19.8557, 11.9939, 64.8741)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D6 #B4D645
analogous
#456BD6 #6745D6 #AF45D6
triadic
#6745D6 #D66745 #45D667
tetradic
#6745D6 #D6456B #B4D645 #45D6AF
square
#6745D6 #D6456B #B4D645 #45D6AF
split-complementary
#6745D6 #D6AF45 #6BD645
monochromatic
#351D84 #4928B6 #6745D6 #9077E1 #B9A9EC

Accessibility & contrast

On white

6.18
#6745D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6745D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D6#FFFFFF#000000##FFFFFF
##6745D61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#3C6A88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6745d6;
/* rgb */ color: rgb(103, 69, 214);
/* oklch */ color: oklch(51.5% 0.210 287.4);
Tailwind
colors: {
  custom: {
    50: '#9c7be4',
    500: '#6745d6',
    950: '#000000',
  },
}
SCSS
$custom: #6745d6;
$custom-light: #9c7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d6",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 254.069,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.20962,
    "h": 287.4
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#6745D6
secondary
#CBDA9D
accent
#E741C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6745D6

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

Preview Lab → · Contrast checker → · Palette generator →

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