#6754E4#6754E4

#6754E4 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.9% C 0.209 H 283.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6754E4
RGBrgb(103, 84, 228)
HSLhsl(248, 73%, 61%)
HSVhsv(248, 63%, 89%)
CMYKcmyk(54.8%, 63.2%, 0%, 10.6%)
CIE-LABlab(45.39, 45.88, -70.82)
CIE-LCHlch(45.39, 84.38, 302.94°)
OKLaboklab(54.86% 0.0472 -0.2034)
OKLCHoklch(54.86% 0.209 283.1)
XYZxyz(22.7631, 14.8243, 75.0456)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754E4 #D1E454
analogous
#5489E4 #6754E4 #AF54E4
triadic
#6754E4 #E46754 #54E467
tetradic
#6754E4 #E45489 #D1E454 #54E4AF
square
#6754E4 #E45489 #D1E454 #54E4AF
split-complementary
#6754E4 #E4AF54 #89E454
monochromatic
#2C1AA4 #3A22D9 #6754E4 #9689EC #C5BEF5

Accessibility & contrast

On white

5.30
#6754E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6754E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754E4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754E4#FFFFFF#000000##FFFFFF
##6754E41.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#2C7894
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6754e4;
/* rgb */ color: rgb(103, 84, 228);
/* oklch */ color: oklch(54.9% 0.209 283.1);
Tailwind
colors: {
  custom: {
    50: '#9d85ee',
    500: '#6754e4',
    950: '#000000',
  },
}
SCSS
$custom: #6754e4;
$custom-light: #9d85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6754e4",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 247.917,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.20885,
    "h": 283.1
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#6754E4
secondary
#DEE5AF
accent
#D511BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6754E4

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

Preview Lab → · Contrast checker → · Palette generator →

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