#6854E9#6854E9

#6854E9 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.215 H 282.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6854E9
RGBrgb(104, 84, 233)
HSLhsl(248, 77%, 62%)
HSVhsv(248, 64%, 91%)
CMYKcmyk(55.4%, 63.9%, 0%, 8.6%)
CIE-LABlab(45.86, 47.55, -72.88)
CIE-LCHlch(45.86, 87.02, 303.12°)
OKLaboklab(55.34% 0.048 -0.2095)
OKLCHoklch(55.34% 0.215 282.9)
XYZxyz(23.5827, 15.1654, 78.7595)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854E9 #D5E954
analogous
#548AE9 #6854E9 #B354E9
triadic
#6854E9 #E96854 #54E968
tetradic
#6854E9 #E9548A #D5E954 #54E9B3
square
#6854E9 #E9548A #D5E954 #54E9B3
split-complementary
#6854E9 #E9B354 #8AE954
monochromatic
#2A16AC #381EE2 #6854E9 #988AF0 #C8C0F7

Accessibility & contrast

On white

5.21
#6854E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6854E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854E9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854E9#FFFFFF#000000##FFFFFF
##6854E91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#287997
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6854e9;
/* rgb */ color: rgb(104, 84, 233);
/* oklch */ color: oklch(55.3% 0.215 282.9);
Tailwind
colors: {
  custom: {
    50: '#9e85f1',
    500: '#6854e9',
    950: '#000000',
  },
}
SCSS
$custom: #6854e9;
$custom-light: #9e85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6854e9",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 248.054,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.2149,
    "h": 282.9
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#6854E9
secondary
#E0E8B1
accent
#D90CBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6854E9

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

Preview Lab → · Contrast checker → · Palette generator →

#6854E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva