#6954EC#6954EC

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

Color values

HEX#6954EC
RGBrgb(105, 84, 236)
HSLhsl(248, 80%, 63%)
HSVhsv(248, 64%, 93%)
CMYKcmyk(55.5%, 64.4%, 0%, 7.5%)
CIE-LABlab(46.18, 48.61, -74.05)
CIE-LCHlch(46.18, 88.58, 303.28°)
OKLaboklab(55.66% 0.049 -0.2129)
OKLCHoklch(55.66% 0.218 283)
XYZxyz(24.1317, 15.3985, 81.0412)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954EC #D7EC54
analogous
#548BEC #6954EC #B554EC
triadic
#6954EC #EC6954 #54EC69
tetradic
#6954EC #EC548B #D7EC54 #54ECB5
square
#6954EC #EC548B #D7EC54 #54ECB5
split-complementary
#6954EC #ECB554 #8BEC54
monochromatic
#2A14B2 #391DE6 #6954EC #998BF2 #CAC2F8

Accessibility & contrast

On white

5.15
#6954EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6954EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954EC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954EC#FFFFFF#000000##FFFFFF
##6954EC1.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)
#0072F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#277A99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6954ec;
/* rgb */ color: rgb(105, 84, 236);
/* oklch */ color: oklch(55.7% 0.218 283.0);
Tailwind
colors: {
  custom: {
    50: '#9f85f3',
    500: '#6954ec',
    950: '#000000',
  },
}
SCSS
$custom: #6954ec;
$custom-light: #9f85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6954ec",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 248.289,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.21845,
    "h": 283
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6954EC

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

Preview Lab → · Contrast checker → · Palette generator →

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