#6745DA#6745DA

#6745DA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.214 H 286.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6745DA
RGBrgb(103, 69, 218)
HSLhsl(254, 67%, 56%)
HSVhsv(254, 68%, 85%)
CMYKcmyk(52.8%, 68.3%, 0%, 14.5%)
CIE-LABlab(41.53, 51.24, -71.42)
CIE-LCHlch(41.53, 87.90, 305.66°)
OKLaboklab(51.83% 0.062 -0.2052)
OKLCHoklch(51.83% 0.214 286.8)
XYZxyz(20.3728, 12.2007, 67.5976)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745DA #B8DA45
analogous
#456EDA #6745DA #B245DA
triadic
#6745DA #DA6745 #45DA67
tetradic
#6745DA #DA456E #B8DA45 #45DAB2
square
#6745DA #DA456E #B8DA45 #45DAB2
split-complementary
#6745DA #DAB245 #6EDA45
monochromatic
#341B89 #4825BC #6745DA #9178E4 #BAABEE

Accessibility & contrast

On white

6.10
#6745DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6745DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745DA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745DA#FFFFFF#000000##FFFFFF
##6745DA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#396B8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6745da;
/* rgb */ color: rgb(103, 69, 218);
/* oklch */ color: oklch(51.8% 0.214 286.8);
Tailwind
colors: {
  custom: {
    50: '#9d7be7',
    500: '#6745da',
    950: '#000000',
  },
}
SCSS
$custom: #6745da;
$custom-light: #9d7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6745da",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 253.691,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51825,
    "c": 0.21436,
    "h": 286.8
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#6745DA
secondary
#CEDC9F
accent
#EA3EC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6745DA

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

Preview Lab → · Contrast checker → · Palette generator →

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