#6745D8#6745D8

#6745D8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.212 H 287.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6745D8
RGBrgb(103, 69, 216)
HSLhsl(254, 65%, 56%)
HSVhsv(254, 68%, 85%)
CMYKcmyk(52.3%, 68.1%, 0%, 15.3%)
CIE-LABlab(41.37, 50.67, -70.54)
CIE-LCHlch(41.37, 86.85, 305.69°)
OKLaboklab(51.66% 0.0623 -0.2026)
OKLCHoklch(51.66% 0.212 287.1)
XYZxyz(20.1126, 12.0967, 66.2275)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D8 #B6D845
analogous
#456CD8 #6745D8 #B145D8
triadic
#6745D8 #D86745 #45D867
tetradic
#6745D8 #D8456C #B6D845 #45D8B1
square
#6745D8 #D8456C #B6D845 #45D8B1
split-complementary
#6745D8 #D8B145 #6CD845
monochromatic
#351C86 #4927B9 #6745D8 #9078E3 #BAAAED

Accessibility & contrast

On white

6.14
#6745D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6745D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D8#FFFFFF#000000##FFFFFF
##6745D81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#3A6B89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6745d8;
/* rgb */ color: rgb(103, 69, 216);
/* oklch */ color: oklch(51.7% 0.212 287.1);
Tailwind
colors: {
  custom: {
    50: '#9c7be5',
    500: '#6745d8',
    950: '#000000',
  },
}
SCSS
$custom: #6745d8;
$custom-light: #9c7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d8",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 253.878,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.21199,
    "h": 287.1
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#6745D8
secondary
#CDDB9E
accent
#E840C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6745D8

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

Preview Lab → · Contrast checker → · Palette generator →

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