#6754BF#6754BF

#6754BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.1% C 0.161 H 287.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6754BF
RGBrgb(103, 84, 191)
HSLhsl(251, 46%, 54%)
HSVhsv(251, 56%, 75%)
CMYKcmyk(46.1%, 56%, 0%, 25.1%)
CIE-LABlab(42.74, 34.81, -53.87)
CIE-LCHlch(42.74, 64.14, 302.87°)
OKLaboklab(52.08% 0.0488 -0.1536)
OKLCHoklch(52.08% 0.161 287.6)
XYZxyz(18.1651, 12.9851, 50.8294)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754BF #ACBF54
analogous
#5477BF #6754BF #9D54BF
triadic
#6754BF #BF6754 #54BF67
tetradic
#6754BF #BF5477 #ACBF54 #54BF9D
square
#6754BF #BF5477 #ACBF54 #54BF9D
split-complementary
#6754BF #BF9D54 #77BF54
monochromatic
#362A6F #4C3A9C #6754BF #8F81D0 #B6ADE0

Accessibility & contrast

On white

5.84
#6754BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6754BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754BF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754BF#FFFFFF#000000##FFFFFF
##6754BF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C3
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#4B6C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6754bf;
/* rgb */ color: rgb(103, 84, 191);
/* oklch */ color: oklch(52.1% 0.161 287.6);
Tailwind
colors: {
  custom: {
    50: '#9885d3',
    500: '#6754bf',
    950: '#000000',
  },
}
SCSS
$custom: #6754bf;
$custom-light: #9885d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6754bf",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 250.654,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.16116,
    "h": 287.6
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#6754BF
secondary
#C6CEA1
accent
#D553BE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6754BF

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

Preview Lab → · Contrast checker → · Palette generator →

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