#6D54EF#6D54EF

#6D54EF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.2% C 0.222 H 284.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6D54EF
RGBrgb(109, 84, 239)
HSLhsl(250, 83%, 63%)
HSVhsv(250, 65%, 94%)
CMYKcmyk(54.4%, 64.9%, 0%, 6.3%)
CIE-LABlab(46.74, 50.15, -74.80)
CIE-LCHlch(46.74, 90.06, 303.84°)
OKLaboklab(56.22% 0.0538 -0.215)
OKLCHoklch(56.22% 0.222 284.1)
XYZxyz(25.0522, 15.8224, 83.3786)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54EF #D6EF54
analogous
#5488EF #6D54EF #BA54EF
triadic
#6D54EF #EF6D54 #54EF6D
tetradic
#6D54EF #EF5488 #D6EF54 #54EFBA
square
#6D54EF #EF5488 #D6EF54 #54EFBA
split-complementary
#6D54EF #EFBA54 #88EF54
monochromatic
#2C11B7 #3D1CEA #6D54EF #9D8CF4 #CDC4F9

Accessibility & contrast

On white

5.04
#6D54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6D54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54EF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54EF#FFFFFF#000000##FFFFFF
##6D54EF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#317B9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d54ef;
/* rgb */ color: rgb(109, 84, 239);
/* oklch */ color: oklch(56.2% 0.222 284.1);
Tailwind
colors: {
  custom: {
    50: '#a286f5',
    500: '#6d54ef',
    950: '#000000',
  },
}
SCSS
$custom: #6d54ef;
$custom-light: #a286f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54ef",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 249.677,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.2216,
    "h": 284.1
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#6D54EF
secondary
#E2EBB4
accent
#DF06BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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