#6854ED#6854ED

#6854ED is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.7% C 0.220 H 282.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6854ED
RGBrgb(104, 84, 237)
HSLhsl(248, 81%, 63%)
HSVhsv(248, 65%, 93%)
CMYKcmyk(56.1%, 64.6%, 0%, 7.1%)
CIE-LABlab(46.17, 48.75, -74.62)
CIE-LCHlch(46.17, 89.13, 303.15°)
OKLaboklab(55.66% 0.0476 -0.2146)
OKLCHoklch(55.66% 0.22 282.5)
XYZxyz(24.1606, 15.3966, 81.8031)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854ED #D9ED54
analogous
#548CED #6854ED #B454ED
triadic
#6854ED #ED6854 #54ED68
tetradic
#6854ED #ED548C #D9ED54 #54EDB4
square
#6854ED #ED548C #D9ED54 #54EDB4
split-complementary
#6854ED #EDB454 #8CED54
monochromatic
#2813B4 #371DE7 #6854ED #998BF3 #CAC3F9

Accessibility & contrast

On white

5.15
#6854ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6854ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854ED
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854ED#FFFFFF#000000##FFFFFF
##6854ED1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#217B99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6854ed;
/* rgb */ color: rgb(104, 84, 237);
/* oklch */ color: oklch(55.7% 0.220 282.5);
Tailwind
colors: {
  custom: {
    50: '#9f85f4',
    500: '#6854ed',
    950: '#000000',
  },
}
SCSS
$custom: #6854ed;
$custom-light: #9f85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6854ed",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 247.843,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.2198,
    "h": 282.5
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#6854ED
secondary
#E3EAB3
accent
#DD08C1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6854ED

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

Preview Lab → · Contrast checker → · Palette generator →

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