#6754BD#6754BD

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

Color values

HEX#6754BD
RGBrgb(103, 84, 189)
HSLhsl(251, 44%, 54%)
HSVhsv(251, 56%, 74%)
CMYKcmyk(45.5%, 55.6%, 0%, 25.9%)
CIE-LABlab(42.61, 34.22, -52.92)
CIE-LCHlch(42.61, 63.02, 302.89°)
OKLaboklab(51.93% 0.0487 -0.1508)
OKLCHoklch(51.93% 0.158 287.9)
XYZxyz(17.9465, 12.8976, 49.6781)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754BD #AABD54
analogous
#5475BD #6754BD #9B54BD
triadic
#6754BD #BD6754 #54BD67
tetradic
#6754BD #BD5475 #AABD54 #54BD9B
square
#6754BD #BD5475 #AABD54 #54BD9B
split-complementary
#6754BD #BD9B54 #75BD54
monochromatic
#362A6D #4C3B99 #6754BD #8E80CE #B5ACDF

Accessibility & contrast

On white

5.87
#6754BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6754BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754BD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754BD#FFFFFF#000000##FFFFFF
##6754BD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#1A62BB
Tritanopia (blue-blind)
#4C6B80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6754bd;
/* rgb */ color: rgb(103, 84, 189);
/* oklch */ color: oklch(51.9% 0.158 287.9);
Tailwind
colors: {
  custom: {
    50: '#9884d1',
    500: '#6754bd',
    950: '#000000',
  },
}
SCSS
$custom: #6754bd;
$custom-light: #9884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6754bd",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 250.857,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.15848,
    "h": 287.9
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#6754BD
secondary
#C5CDA0
accent
#D454BD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6754BD

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

Preview Lab → · Contrast checker → · Palette generator →

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