#6754E1#6754E1

#6754E1 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.205 H 283.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6754E1
RGBrgb(103, 84, 225)
HSLhsl(248, 70%, 61%)
HSVhsv(248, 63%, 88%)
CMYKcmyk(54.2%, 62.7%, 0%, 11.8%)
CIE-LABlab(45.16, 44.98, -69.49)
CIE-LCHlch(45.16, 82.78, 302.91°)
OKLaboklab(54.62% 0.0475 -0.1995)
OKLCHoklch(54.62% 0.205 283.4)
XYZxyz(22.3503, 14.6591, 72.8713)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754E1 #CEE154
analogous
#5487E1 #6754E1 #AD54E1
triadic
#6754E1 #E16754 #54E167
tetradic
#6754E1 #E15487 #CEE154 #54E1AD
square
#6754E1 #E15487 #CEE154 #54E1AD
split-complementary
#6754E1 #E1AD54 #87E154
monochromatic
#2D1C9F #3C25D3 #6754E1 #9588EA #C4BCF3

Accessibility & contrast

On white

5.34
#6754E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6754E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754E1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754E1#FFFFFF#000000##FFFFFF
##6754E11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#2F7793
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6754e1;
/* rgb */ color: rgb(103, 84, 225);
/* oklch */ color: oklch(54.6% 0.205 283.4);
Tailwind
colors: {
  custom: {
    50: '#9d85eb',
    500: '#6754e1',
    950: '#000000',
  },
}
SCSS
$custom: #6754e1;
$custom-light: #9d85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6754e1",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 248.085,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.2051,
    "h": 283.4
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#6754E1
secondary
#DCE3AE
accent
#D213B8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6754E1

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

Preview Lab → · Contrast checker → · Palette generator →

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