#6854EC#6854EC

#6854EC is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.6% C 0.219 H 282.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6854EC
RGBrgb(104, 84, 236)
HSLhsl(248, 80%, 63%)
HSVhsv(248, 64%, 93%)
CMYKcmyk(55.9%, 64.4%, 0%, 7.5%)
CIE-LABlab(46.09, 48.45, -74.19)
CIE-LCHlch(46.09, 88.61, 303.15°)
OKLaboklab(55.58% 0.0477 -0.2133)
OKLCHoklch(55.58% 0.219 282.6)
XYZxyz(24.0149, 15.3383, 81.0358)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854EC #D8EC54
analogous
#548CEC #6854EC #B454EC
triadic
#6854EC #EC6854 #54EC68
tetradic
#6854EC #EC548C #D8EC54 #54ECB4
square
#6854EC #EC548C #D8EC54 #54ECB4
split-complementary
#6854EC #ECB454 #8CEC54
monochromatic
#2914B2 #371DE6 #6854EC #998BF2 #C9C2F8

Accessibility & contrast

On white

5.16
#6854EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6854EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854EC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854EC#FFFFFF#000000##FFFFFF
##6854EC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#237A99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6854ec;
/* rgb */ color: rgb(104, 84, 236);
/* oklch */ color: oklch(55.6% 0.219 282.6);
Tailwind
colors: {
  custom: {
    50: '#9f85f3',
    500: '#6854ec',
    950: '#000000',
  },
}
SCSS
$custom: #6854ec;
$custom-light: #9f85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6854ec",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 247.895,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55579,
    "c": 0.21858,
    "h": 282.6
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#6854EC
secondary
#E2E9B2
accent
#DC09C1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6854EC

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

Preview Lab → · Contrast checker → · Palette generator →

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