#6745CC#6745CC

#6745CC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.198 H 288.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6745CC
RGBrgb(103, 69, 204)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 66%, 80%)
CMYKcmyk(49.5%, 66.2%, 0%, 20%)
CIE-LABlab(40.41, 47.24, -65.20)
CIE-LCHlch(40.41, 80.52, 305.93°)
OKLaboklab(50.67% 0.0641 -0.1869)
OKLCHoklch(50.67% 0.198 288.9)
XYZxyz(18.6176, 11.4986, 58.3535)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745CC #AACC45
analogous
#4566CC #6745CC #AA45CC
triadic
#6745CC #CC6745 #45CC67
tetradic
#6745CC #CC4566 #AACC45 #45CCAA
square
#6745CC #CC4566 #AACC45 #45CCAA
split-complementary
#6745CC #CCAA45 #66CC45
monochromatic
#362076 #4C2EA6 #6745CC #8E75D9 #B5A5E6

Accessibility & contrast

On white

6.36
#6745CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6745CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745CC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745CC#FFFFFF#000000##FFFFFF
##6745CC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#446683
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6745cc;
/* rgb */ color: rgb(103, 69, 204);
/* oklch */ color: oklch(50.7% 0.198 288.9);
Tailwind
colors: {
  custom: {
    50: '#9b7bdd',
    500: '#6745cc',
    950: '#000000',
  },
}
SCSS
$custom: #6745cc;
$custom-light: #9b7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6745cc",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 255.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.19761,
    "h": 288.9
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#6745CC
secondary
#C5D399
accent
#E048BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745CC

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

Preview Lab → · Contrast checker → · Palette generator →

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