#6854EA#6854EA

#6854EA is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.4% C 0.216 H 282.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6854EA
RGBrgb(104, 84, 234)
HSLhsl(248, 78%, 62%)
HSVhsv(248, 64%, 92%)
CMYKcmyk(55.6%, 64.1%, 0%, 8.2%)
CIE-LABlab(45.94, 47.85, -73.32)
CIE-LCHlch(45.94, 87.55, 303.13°)
OKLaboklab(55.42% 0.0479 -0.2107)
OKLCHoklch(55.42% 0.216 282.8)
XYZxyz(23.7260, 15.2227, 79.5140)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854EA #D6EA54
analogous
#548BEA #6854EA #B354EA
triadic
#6854EA #EA6854 #54EA68
tetradic
#6854EA #EA548B #D6EA54 #54EAB3
square
#6854EA #EA548B #D6EA54 #54EAB3
split-complementary
#6854EA #EAB354 #8BEA54
monochromatic
#2A15AE #381DE3 #6854EA #988BF1 #C8C1F7

Accessibility & contrast

On white

5.19
#6854EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6854EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854EA#FFFFFF#000000##FFFFFF
##6854EA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#277A98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6854ea;
/* rgb */ color: rgb(104, 84, 234);
/* oklch */ color: oklch(55.4% 0.216 282.8);
Tailwind
colors: {
  custom: {
    50: '#9f85f2',
    500: '#6854ea',
    950: '#000000',
  },
}
SCSS
$custom: #6854ea;
$custom-light: #9f85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6854ea",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 248,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.21613,
    "h": 282.8
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#6854EA
secondary
#E1E8B2
accent
#DA0BBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6854EA

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

Preview Lab → · Contrast checker → · Palette generator →

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