#6754E2#6754E2

#6754E2 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.206 H 283.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6754E2
RGBrgb(103, 84, 226)
HSLhsl(248, 71%, 61%)
HSVhsv(248, 63%, 89%)
CMYKcmyk(54.4%, 62.8%, 0%, 11.4%)
CIE-LABlab(45.24, 45.28, -69.93)
CIE-LCHlch(45.24, 83.31, 302.92°)
OKLaboklab(54.7% 0.0474 -0.2008)
OKLCHoklch(54.7% 0.206 283.3)
XYZxyz(22.4871, 14.7139, 73.5919)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754E2 #CFE254
analogous
#5488E2 #6754E2 #AE54E2
triadic
#6754E2 #E26754 #54E267
tetradic
#6754E2 #E25488 #CFE254 #54E2AE
square
#6754E2 #E25488 #CFE254 #54E2AE
split-complementary
#6754E2 #E2AE54 #88E254
monochromatic
#2D1BA0 #3C24D5 #6754E2 #9688EB #C4BDF4

Accessibility & contrast

On white

5.33
#6754E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6754E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754E2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754E2#FFFFFF#000000##FFFFFF
##6754E21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#2E7793
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6754e2;
/* rgb */ color: rgb(103, 84, 226);
/* oklch */ color: oklch(54.7% 0.206 283.3);
Tailwind
colors: {
  custom: {
    50: '#9d85ec',
    500: '#6754e2',
    950: '#000000',
  },
}
SCSS
$custom: #6754e2;
$custom-light: #9d85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6754e2",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 248.028,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.20636,
    "h": 283.3
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#6754E2
secondary
#DDE4AE
accent
#D312B9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6754E2

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

Preview Lab → · Contrast checker → · Palette generator →

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