#6B54EF#6B54EF

#6B54EF is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 56.1% C 0.222 H 283.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6B54EF
RGBrgb(107, 84, 239)
HSLhsl(249, 83%, 63%)
HSVhsv(249, 65%, 94%)
CMYKcmyk(55.2%, 64.9%, 0%, 6.3%)
CIE-LABlab(46.57, 49.82, -75.08)
CIE-LCHlch(46.57, 90.11, 303.57°)
OKLaboklab(56.06% 0.0512 -0.2158)
OKLCHoklch(56.06% 0.222 283.4)
XYZxyz(24.8089, 15.6969, 83.3671)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54EF #D8EF54
analogous
#548AEF #6B54EF #B854EF
triadic
#6B54EF #EF6B54 #54EF6B
tetradic
#6B54EF #EF548A #D8EF54 #54EFB8
square
#6B54EF #EF548A #D8EF54 #54EFB8
split-complementary
#6B54EF #EFB854 #8AEF54
monochromatic
#2A11B7 #3B1CEA #6B54EF #9B8CF4 #CCC4F9

Accessibility & contrast

On white

5.07
#6B54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54EF#FFFFFF#000000##FFFFFF
##6B54EF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#2A7B9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b54ef;
/* rgb */ color: rgb(107, 84, 239);
/* oklch */ color: oklch(56.1% 0.222 283.4);
Tailwind
colors: {
  custom: {
    50: '#a186f5',
    500: '#6b54ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b54ef;
$custom-light: #a186f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54ef",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 248.903,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.22184,
    "h": 283.4
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#6B54EF
secondary
#E3EBB4
accent
#DF06BF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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