#6754BC#6754BC

#6754BC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.9% C 0.157 H 288.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6754BC
RGBrgb(103, 84, 188)
HSLhsl(251, 44%, 53%)
HSVhsv(251, 55%, 74%)
CMYKcmyk(45.2%, 55.3%, 0%, 26.3%)
CIE-LABlab(42.54, 33.93, -52.44)
CIE-LCHlch(42.54, 62.46, 302.90°)
OKLaboklab(51.87% 0.0487 -0.1494)
OKLCHoklch(51.87% 0.157 288.1)
XYZxyz(17.8384, 12.8544, 49.1084)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754BC #A9BC54
analogous
#5475BC #6754BC #9B54BC
triadic
#6754BC #BC6754 #54BC67
tetradic
#6754BC #BC5475 #A9BC54 #54BC9B
square
#6754BC #BC5475 #A9BC54 #54BC9B
split-complementary
#6754BC #BC9B54 #75BC54
monochromatic
#362A6B #4C3B97 #6754BC #8E80CD #B5ACDE

Accessibility & contrast

On white

5.88
#6754BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6754BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754BC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754BC#FFFFFF#000000##FFFFFF
##6754BC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#4D6B80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6754bc;
/* rgb */ color: rgb(103, 84, 188);
/* oklch */ color: oklch(51.9% 0.157 288.1);
Tailwind
colors: {
  custom: {
    50: '#9884d1',
    500: '#6754bc',
    950: '#000000',
  },
}
SCSS
$custom: #6754bc;
$custom-light: #9884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6754bc",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 250.962,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.15714,
    "h": 288.1
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#6754BC
secondary
#C4CCA0
accent
#D354BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6754BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6754BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva