#6D54EC#6D54EC

#6D54EC is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.0% C 0.218 H 284.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6D54EC
RGBrgb(109, 84, 236)
HSLhsl(250, 80%, 63%)
HSVhsv(250, 64%, 93%)
CMYKcmyk(53.8%, 64.4%, 0%, 7.5%)
CIE-LABlab(46.51, 49.27, -73.50)
CIE-LCHlch(46.51, 88.48, 303.84°)
OKLaboklab(55.98% 0.0542 -0.2111)
OKLCHoklch(55.98% 0.218 284.4)
XYZxyz(24.6127, 15.6466, 81.0638)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54EC #D3EC54
analogous
#5487EC #6D54EC #B954EC
triadic
#6D54EC #EC6D54 #54EC6D
tetradic
#6D54EC #EC5487 #D3EC54 #54ECB9
square
#6D54EC #EC5487 #D3EC54 #54ECB9
split-complementary
#6D54EC #ECB954 #87EC54
monochromatic
#2E14B2 #3E1DE6 #6D54EC #9C8BF2 #CBC2F8

Accessibility & contrast

On white

5.09
#6D54EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6D54EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54EC#FFFFFF#000000##FFFFFF
##6D54EC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#357A99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d54ec;
/* rgb */ color: rgb(109, 84, 236);
/* oklch */ color: oklch(56.0% 0.218 284.4);
Tailwind
colors: {
  custom: {
    50: '#a286f3',
    500: '#6d54ec',
    950: '#000000',
  },
}
SCSS
$custom: #6d54ec;
$custom-light: #a286f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54ec",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 249.868,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.21797,
    "h": 284.4
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#6D54EC
secondary
#E0E9B2
accent
#DC09BA
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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