#6745DC#6745DC

#6745DC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.217 H 286.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6745DC
RGBrgb(103, 69, 220)
HSLhsl(254, 68%, 57%)
HSVhsv(254, 69%, 86%)
CMYKcmyk(53.2%, 68.6%, 0%, 13.7%)
CIE-LABlab(41.70, 51.82, -72.30)
CIE-LCHlch(41.70, 88.95, 305.63°)
OKLaboklab(51.99% 0.0616 -0.2078)
OKLCHoklch(51.99% 0.217 286.5)
XYZxyz(20.6361, 12.3060, 68.9842)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745DC #BADC45
analogous
#456FDC #6745DC #B345DC
triadic
#6745DC #DC6745 #45DC67
tetradic
#6745DC #DC456F #BADC45 #45DCB3
square
#6745DC #DC456F #BADC45 #45DCB3
split-complementary
#6745DC #DCB345 #6FDC45
monochromatic
#341A8C #4724C0 #6745DC #9179E6 #BBACEF

Accessibility & contrast

On white

6.07
#6745DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6745DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745DC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745DC#FFFFFF#000000##FFFFFF
##6745DC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#376C8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6745dc;
/* rgb */ color: rgb(103, 69, 220);
/* oklch */ color: oklch(52.0% 0.217 286.5);
Tailwind
colors: {
  custom: {
    50: '#9d7be8',
    500: '#6745dc',
    950: '#000000',
  },
}
SCSS
$custom: #6745dc;
$custom-light: #9d7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#6745dc",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 253.51,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.21673,
    "h": 286.5
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#6745DC
secondary
#CFDDA0
accent
#EB3DC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6745DC

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

Preview Lab → · Contrast checker → · Palette generator →

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