#6754E7#6754E7

#6754E7 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.1% C 0.213 H 282.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6754E7
RGBrgb(103, 84, 231)
HSLhsl(248, 75%, 62%)
HSVhsv(248, 64%, 91%)
CMYKcmyk(55.4%, 63.6%, 0%, 9.4%)
CIE-LABlab(45.62, 46.78, -72.14)
CIE-LCHlch(45.62, 85.98, 302.96°)
OKLaboklab(55.1% 0.047 -0.2073)
OKLCHoklch(55.1% 0.213 282.8)
XYZxyz(23.1832, 14.9923, 77.2580)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754E7 #D4E754
analogous
#548BE7 #6754E7 #B154E7
triadic
#6754E7 #E76754 #54E767
tetradic
#6754E7 #E7548B #D4E754 #54E7B1
square
#6754E7 #E7548B #D4E754 #54E7B1
split-complementary
#6754E7 #E7B154 #8BE754
monochromatic
#2A18A9 #381FDF #6754E7 #978AEF #C6BFF6

Accessibility & contrast

On white

5.25
#6754E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6754E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754E7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754E7#FFFFFF#000000##FFFFFF
##6754E71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#277996
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6754e7;
/* rgb */ color: rgb(103, 84, 231);
/* oklch */ color: oklch(55.1% 0.213 282.8);
Tailwind
colors: {
  custom: {
    50: '#9e85f0',
    500: '#6754e7',
    950: '#000000',
  },
}
SCSS
$custom: #6754e7;
$custom-light: #9e85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6754e7",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 247.755,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55097,
    "c": 0.21257,
    "h": 282.8
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#6754E7
secondary
#E0E7B0
accent
#D80EBD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6754E7

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

Preview Lab → · Contrast checker → · Palette generator →

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