#6745CD#6745CD

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

Color values

HEX#6745CD
RGBrgb(103, 69, 205)
HSLhsl(255, 58%, 54%)
HSVhsv(255, 66%, 80%)
CMYKcmyk(49.8%, 66.3%, 0%, 19.6%)
CIE-LABlab(40.49, 47.53, -65.65)
CIE-LCHlch(40.49, 81.05, 305.90°)
OKLaboklab(50.75% 0.0639 -0.1883)
OKLCHoklch(50.75% 0.199 288.8)
XYZxyz(18.7379, 11.5468, 58.9872)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745CD #ABCD45
analogous
#4567CD #6745CD #AB45CD
triadic
#6745CD #CD6745 #45CD67
tetradic
#6745CD #CD4567 #ABCD45 #45CDAB
square
#6745CD #CD4567 #ABCD45 #45CDAB
split-complementary
#6745CD #CDAB45 #67CD45
monochromatic
#362077 #4C2DA8 #6745CD #8E75DA #B6A5E7

Accessibility & contrast

On white

6.35
#6745CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6745CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745CD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745CD#FFFFFF#000000##FFFFFF
##6745CD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#436783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6745cd;
/* rgb */ color: rgb(103, 69, 205);
/* oklch */ color: oklch(50.7% 0.199 288.8);
Tailwind
colors: {
  custom: {
    50: '#9b7bdd',
    500: '#6745cd',
    950: '#000000',
  },
}
SCSS
$custom: #6745cd;
$custom-light: #9b7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6745cd",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 255,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.19883,
    "h": 288.8
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#6745CD
secondary
#C5D49A
accent
#E147BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745CD

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

Preview Lab → · Contrast checker → · Palette generator →

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