#6754BE#6754BE

#6754BE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.0% C 0.160 H 287.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6754BE
RGBrgb(103, 84, 190)
HSLhsl(251, 45%, 54%)
HSVhsv(251, 56%, 75%)
CMYKcmyk(45.8%, 55.8%, 0%, 25.5%)
CIE-LABlab(42.67, 34.52, -53.40)
CIE-LCHlch(42.67, 63.58, 302.88°)
OKLaboklab(52.01% 0.0487 -0.1522)
OKLCHoklch(52.01% 0.16 287.8)
XYZxyz(18.0554, 12.9412, 50.2518)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754BE #ABBE54
analogous
#5476BE #6754BE #9C54BE
triadic
#6754BE #BE6754 #54BE67
tetradic
#6754BE #BE5476 #ABBE54 #54BE9C
square
#6754BE #BE5476 #ABBE54 #54BE9C
split-complementary
#6754BE #BE9C54 #76BE54
monochromatic
#362A6E #4C3B9A #6754BE #8E80CF #B6ADE0

Accessibility & contrast

On white

5.85
#6754BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6754BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754BE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754BE#FFFFFF#000000##FFFFFF
##6754BE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#4C6B81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6754be;
/* rgb */ color: rgb(103, 84, 190);
/* oklch */ color: oklch(52.0% 0.160 287.8);
Tailwind
colors: {
  custom: {
    50: '#9884d2',
    500: '#6754be',
    950: '#000000',
  },
}
SCSS
$custom: #6754be;
$custom-light: #9884d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6754be",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 250.755,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.15982,
    "h": 287.8
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#6754BE
secondary
#C5CEA0
accent
#D553BD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6754BE

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

Preview Lab → · Contrast checker → · Palette generator →

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