#6C54EA#6C54EA

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

Color values

HEX#6C54EA
RGBrgb(108, 84, 234)
HSLhsl(250, 78%, 62%)
HSVhsv(250, 64%, 92%)
CMYKcmyk(53.8%, 64.1%, 0%, 8.2%)
CIE-LABlab(46.27, 48.51, -72.76)
CIE-LCHlch(46.27, 87.45, 303.69°)
OKLaboklab(55.74% 0.0531 -0.209)
OKLCHoklch(55.74% 0.216 284.3)
XYZxyz(24.2014, 15.4679, 79.5363)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C54EA #D2EA54
analogous
#5487EA #6C54EA #B754EA
triadic
#6C54EA #EA6C54 #54EA6C
tetradic
#6C54EA #EA5487 #D2EA54 #54EAB7
square
#6C54EA #EA5487 #D2EA54 #54EAB7
split-complementary
#6C54EA #EAB754 #87EA54
monochromatic
#2E15AE #3D1DE3 #6C54EA #9B8BF1 #CAC1F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C54EA#FFFFFF#000000##FFFFFF
##6C54EA1.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)
#0072EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#347998
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c54ea;
/* rgb */ color: rgb(108, 84, 234);
/* oklch */ color: oklch(55.7% 0.216 284.3);
Tailwind
colors: {
  custom: {
    50: '#a185f2',
    500: '#6c54ea',
    950: '#000000',
  },
}
SCSS
$custom: #6c54ea;
$custom-light: #a185f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c54ea",
  "rgb": {
    "r": 108,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 249.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55739,
    "c": 0.21564,
    "h": 284.3
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#6C54EA
secondary
#E0E8B2
accent
#DA0BB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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