#6745D9#6745D9

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

Color values

HEX#6745D9
RGBrgb(103, 69, 217)
HSLhsl(254, 66%, 56%)
HSVhsv(254, 68%, 85%)
CMYKcmyk(52.5%, 68.2%, 0%, 14.9%)
CIE-LABlab(41.45, 50.96, -70.98)
CIE-LCHlch(41.45, 87.38, 305.67°)
OKLaboklab(51.74% 0.0621 -0.2039)
OKLCHoklch(51.74% 0.213 286.9)
XYZxyz(20.2423, 12.1485, 66.9105)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D9 #B7D945
analogous
#456DD9 #6745D9 #B145D9
triadic
#6745D9 #D96745 #45D967
tetradic
#6745D9 #D9456D #B7D945 #45D9B1
square
#6745D9 #D9456D #B7D945 #45D9B1
split-complementary
#6745D9 #D9B145 #6DD945
monochromatic
#351C88 #4826BB #6745D9 #9178E3 #BAABEE

Accessibility & contrast

On white

6.12
#6745D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6745D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D9#FFFFFF#000000##FFFFFF
##6745D91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#3A6B8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6745d9;
/* rgb */ color: rgb(103, 69, 217);
/* oklch */ color: oklch(51.7% 0.213 286.9);
Tailwind
colors: {
  custom: {
    50: '#9d7be6',
    500: '#6745d9',
    950: '#000000',
  },
}
SCSS
$custom: #6745d9;
$custom-light: #9d7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d9",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 253.784,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51741,
    "c": 0.21318,
    "h": 286.9
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6745D9

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

Preview Lab → · Contrast checker → · Palette generator →

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