#6A54EC#6A54EC

#6A54EC is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.218 H 283.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6A54EC
RGBrgb(106, 84, 236)
HSLhsl(249, 80%, 63%)
HSVhsv(249, 64%, 93%)
CMYKcmyk(55.1%, 64.4%, 0%, 7.5%)
CIE-LABlab(46.26, 48.77, -73.91)
CIE-LCHlch(46.26, 88.56, 303.42°)
OKLaboklab(55.74% 0.0503 -0.2124)
OKLCHoklch(55.74% 0.218 283.3)
XYZxyz(24.2499, 15.4595, 81.0468)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54EC #D6EC54
analogous
#548AEC #6A54EC #B654EC
triadic
#6A54EC #EC6A54 #54EC6A
tetradic
#6A54EC #EC548A #D6EC54 #54ECB6
square
#6A54EC #EC548A #D6EC54 #54ECB6
split-complementary
#6A54EC #ECB654 #8AEC54
monochromatic
#2B14B2 #3A1DE6 #6A54EC #9A8BF2 #CAC2F8

Accessibility & contrast

On white

5.13
#6A54EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6A54EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A54EC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A54EC#FFFFFF#000000##FFFFFF
##6A54EC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#2B7A99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a54ec;
/* rgb */ color: rgb(106, 84, 236);
/* oklch */ color: oklch(55.7% 0.218 283.3);
Tailwind
colors: {
  custom: {
    50: '#a085f3',
    500: '#6a54ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a54ec;
$custom-light: #a085f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54ec",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 248.684,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.21832,
    "h": 283.3
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#6A54EC
secondary
#E1E9B2
accent
#DC09BE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A54EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6A54EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva