#6745DF#6745DF

#6745DF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.220 H 286.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6745DF
RGBrgb(103, 69, 223)
HSLhsl(253, 71%, 57%)
HSVhsv(253, 69%, 87%)
CMYKcmyk(53.8%, 69.1%, 0%, 12.5%)
CIE-LABlab(41.95, 52.67, -73.60)
CIE-LCHlch(41.95, 90.51, 305.59°)
OKLaboklab(52.25% 0.0611 -0.2116)
OKLCHoklch(52.25% 0.22 286.1)
XYZxyz(21.0369, 12.4664, 71.0955)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745DF #BDDF45
analogous
#4570DF #6745DF #B445DF
triadic
#6745DF #DF6745 #45DF67
tetradic
#6745DF #DF4570 #BDDF45 #45DFB4
square
#6745DF #DF4570 #BDDF45 #45DFB4
split-complementary
#6745DF #DFB445 #70DF45
monochromatic
#331991 #4622C5 #6745DF #9279E8 #BCADF1

Accessibility & contrast

On white

6.01
#6745DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6745DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745DF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745DF#FFFFFF#000000##FFFFFF
##6745DF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#346D8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6745df;
/* rgb */ color: rgb(103, 69, 223);
/* oklch */ color: oklch(52.2% 0.220 286.1);
Tailwind
colors: {
  custom: {
    50: '#9d7bea',
    500: '#6745df',
    950: '#000000',
  },
}
SCSS
$custom: #6745df;
$custom-light: #9d7bea;
$custom-dark: #000000;
JSON
{
  "hex": "#6745df",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 253.247,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.22025,
    "h": 286.1
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#6745DF
secondary
#D1DFA1
accent
#ED3AC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6745DF

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

Preview Lab → · Contrast checker → · Palette generator →

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