#6754DA#6754DA

#6754DA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 54.1% C 0.196 H 284.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6754DA
RGBrgb(103, 84, 218)
HSLhsl(249, 64%, 59%)
HSVhsv(249, 61%, 85%)
CMYKcmyk(52.8%, 61.5%, 0%, 14.5%)
CIE-LABlab(44.64, 42.87, -66.36)
CIE-LCHlch(44.64, 79.00, 302.87°)
OKLaboklab(54.07% 0.048 -0.1903)
OKLCHoklch(54.07% 0.196 284.2)
XYZxyz(21.4149, 14.2850, 67.9449)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754DA #C7DA54
analogous
#5484DA #6754DA #AA54DA
triadic
#6754DA #DA6754 #54DA67
tetradic
#6754DA #DA5484 #C7DA54 #54DAAA
square
#6754DA #DA5484 #C7DA54 #54DAAA
split-complementary
#6754DA #DAAA54 #84DA54
monochromatic
#302094 #412BC6 #6754DA #9486E5 #C0B9F0

Accessibility & contrast

On white

5.44
#6754DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6754DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754DA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754DA#FFFFFF#000000##FFFFFF
##6754DA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#37748F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6754da;
/* rgb */ color: rgb(103, 84, 218);
/* oklch */ color: oklch(54.1% 0.196 284.2);
Tailwind
colors: {
  custom: {
    50: '#9c85e6',
    500: '#6754da',
    950: '#000000',
  },
}
SCSS
$custom: #6754da;
$custom-light: #9c85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6754da",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 248.507,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.19629,
    "h": 284.2
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#6754DA
secondary
#D8DFAB
accent
#E740D0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6754DA

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

Preview Lab → · Contrast checker → · Palette generator →

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