#6745D1#6745D1

#6745D1 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.1% C 0.204 H 288.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6745D1
RGBrgb(103, 69, 209)
HSLhsl(255, 60%, 55%)
HSVhsv(255, 67%, 82%)
CMYKcmyk(50.7%, 67%, 0%, 18%)
CIE-LABlab(40.80, 48.67, -67.44)
CIE-LCHlch(40.80, 83.17, 305.82°)
OKLaboklab(51.08% 0.0634 -0.1935)
OKLCHoklch(51.08% 0.204 288.1)
XYZxyz(19.2269, 11.7424, 61.5627)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745D1 #AFD145
analogous
#4569D1 #6745D1 #AD45D1
triadic
#6745D1 #D16745 #45D167
tetradic
#6745D1 #D14569 #AFD145 #45D1AD
square
#6745D1 #D14569 #AFD145 #45D1AD
split-complementary
#6745D1 #D1AD45 #69D145
monochromatic
#361F7D #4B2BAE #6745D1 #8F76DD #B7A7E9

Accessibility & contrast

On white

6.27
#6745D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6745D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745D1
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745D1#FFFFFF#000000##FFFFFF
##6745D11.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#406885
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6745d1;
/* rgb */ color: rgb(103, 69, 209);
/* oklch */ color: oklch(51.1% 0.204 288.1);
Tailwind
colors: {
  custom: {
    50: '#9b7be0',
    500: '#6745d1',
    950: '#000000',
  },
}
SCSS
$custom: #6745d1;
$custom-light: #9b7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#6745d1",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 254.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.20364,
    "h": 288.1
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#6745D1
secondary
#C8D79B
accent
#E344BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745D1

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

Preview Lab → · Contrast checker → · Palette generator →

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