#6745D2#6745D2

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

Color values

HEX#6745D2
RGBrgb(103, 69, 210)
HSLhsl(254, 61%, 55%)
HSVhsv(254, 67%, 82%)
CMYKcmyk(51%, 67.1%, 0%, 17.6%)
CIE-LABlab(40.88, 48.96, -67.89)
CIE-LCHlch(40.88, 83.70, 305.80°)
OKLaboklab(51.16% 0.0632 -0.1948)
OKLCHoklch(51.16% 0.205 288)
XYZxyz(19.3511, 11.7920, 62.2167)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D2 #B0D245
analogous
#456AD2 #6745D2 #AE45D2
triadic
#6745D2 #D26745 #45D267
tetradic
#6745D2 #D2456A #B0D245 #45D2AE
square
#6745D2 #D2456A #B0D245 #45D2AE
split-complementary
#6745D2 #D2AE45 #6AD245
monochromatic
#361F7E #4A2AAF #6745D2 #8F76DE #B8A8EA

Accessibility & contrast

On white

6.25
#6745D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6745D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D2#FFFFFF#000000##FFFFFF
##6745D21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#406986
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6745d2;
/* rgb */ color: rgb(103, 69, 210);
/* oklch */ color: oklch(51.2% 0.205 288.0);
Tailwind
colors: {
  custom: {
    50: '#9c7be1',
    500: '#6745d2',
    950: '#000000',
  },
}
SCSS
$custom: #6745d2;
$custom-light: #9c7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d2",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 254.468,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.20484,
    "h": 288
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#6745D2
secondary
#C9D79C
accent
#E444BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745D2

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

Preview Lab → · Contrast checker → · Palette generator →

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