#6754BB#6754BB

#6754BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.8% C 0.156 H 288.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6754BB
RGBrgb(103, 84, 187)
HSLhsl(251, 43%, 53%)
HSVhsv(251, 55%, 73%)
CMYKcmyk(44.9%, 55.1%, 0%, 26.7%)
CIE-LABlab(42.48, 33.63, -51.96)
CIE-LCHlch(42.48, 61.90, 302.91°)
OKLaboklab(51.8% 0.0487 -0.148)
OKLCHoklch(51.8% 0.156 288.2)
XYZxyz(17.7309, 12.8114, 48.5427)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754BB #A8BB54
analogous
#5474BB #6754BB #9A54BB
triadic
#6754BB #BB6754 #54BB67
tetradic
#6754BB #BB5474 #A8BB54 #54BB9A
square
#6754BB #BB5474 #A8BB54 #54BB9A
split-complementary
#6754BB #BB9A54 #74BB54
monochromatic
#362A6A #4C3C96 #6754BB #8E80CC #B5ACDE

Accessibility & contrast

On white

5.89
#6754BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6754BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754BB#FFFFFF#000000##FFFFFF
##6754BB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#4D6A7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6754bb;
/* rgb */ color: rgb(103, 84, 187);
/* oklch */ color: oklch(51.8% 0.156 288.2);
Tailwind
colors: {
  custom: {
    50: '#9884d0',
    500: '#6754bb',
    950: '#000000',
  },
}
SCSS
$custom: #6754bb;
$custom-light: #9884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6754bb",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 251.068,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.15579,
    "h": 288.2
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#6754BB
secondary
#C3CC9F
accent
#D355BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6754BB

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

Preview Lab → · Contrast checker → · Palette generator →

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