#6745DB#6745DB

#6745DB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.216 H 286.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6745DB
RGBrgb(103, 69, 219)
HSLhsl(254, 68%, 56%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(53%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.62, 51.53, -71.86)
CIE-LCHlch(41.62, 88.42, 305.64°)
OKLaboklab(51.91% 0.0618 -0.2065)
OKLCHoklch(51.91% 0.216 286.7)
XYZxyz(20.5040, 12.2532, 68.2888)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745DB #B9DB45
analogous
#456EDB #6745DB #B245DB
triadic
#6745DB #DB6745 #45DB67
tetradic
#6745DB #DB456E #B9DB45 #45DBB2
square
#6745DB #DB456E #B9DB45 #45DBB2
split-complementary
#6745DB #DBB245 #6EDB45
monochromatic
#341B8B #4825BE #6745DB #9178E5 #BBACEF

Accessibility & contrast

On white

6.09
#6745DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6745DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745DB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745DB#FFFFFF#000000##FFFFFF
##6745DB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#386C8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6745db;
/* rgb */ color: rgb(103, 69, 219);
/* oklch */ color: oklch(51.9% 0.216 286.7);
Tailwind
colors: {
  custom: {
    50: '#9d7be7',
    500: '#6745db',
    950: '#000000',
  },
}
SCSS
$custom: #6745db;
$custom-light: #9d7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6745db",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 253.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.21554,
    "h": 286.7
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#6745DB
secondary
#CFDD9F
accent
#EA3DC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6745DB

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

Preview Lab → · Contrast checker → · Palette generator →

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