#6745C8#6745C8

#6745C8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.193 H 289.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6745C8
RGBrgb(103, 69, 200)
HSLhsl(256, 54%, 53%)
HSVhsv(256, 66%, 78%)
CMYKcmyk(48.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(40.10, 46.10, -63.39)
CIE-LCHlch(40.10, 78.38, 306.03°)
OKLaboklab(50.35% 0.0646 -0.1816)
OKLCHoklch(50.35% 0.193 289.6)
XYZxyz(18.1440, 11.3092, 55.8593)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745C8 #A6C845
analogous
#4564C8 #6745C8 #A945C8
triadic
#6745C8 #C86745 #45C867
tetradic
#6745C8 #C84564 #A6C845 #45C8A9
square
#6745C8 #C84564 #A6C845 #45C8A9
split-complementary
#6745C8 #C8A945 #64C845
monochromatic
#362171 #4D2FA0 #6745C8 #8E74D6 #B4A3E4

Accessibility & contrast

On white

6.44
#6745C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6745C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745C8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745C8#FFFFFF#000000##FFFFFF
##6745C81.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#476580
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6745c8;
/* rgb */ color: rgb(103, 69, 200);
/* oklch */ color: oklch(50.3% 0.193 289.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bda',
    500: '#6745c8',
    950: '#000000',
  },
}
SCSS
$custom: #6745c8;
$custom-light: #9a7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6745c8",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 255.573,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.19276,
    "h": 289.6
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#6745C8
secondary
#C2D198
accent
#DE4AB7
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745C8

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

Preview Lab → · Contrast checker → · Palette generator →

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