#6A54EF#6A54EF

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

Color values

HEX#6A54EF
RGBrgb(106, 84, 239)
HSLhsl(249, 83%, 63%)
HSVhsv(249, 65%, 94%)
CMYKcmyk(55.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(46.49, 49.66, -75.22)
CIE-LCHlch(46.49, 90.13, 303.44°)
OKLaboklab(55.98% 0.05 -0.2163)
OKLCHoklch(55.98% 0.222 283)
XYZxyz(24.6894, 15.6353, 83.3615)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54EF #D9EF54
analogous
#548BEF #6A54EF #B754EF
triadic
#6A54EF #EF6A54 #54EF6A
tetradic
#6A54EF #EF548B #D9EF54 #54EFB7
square
#6A54EF #EF548B #D9EF54 #54EFB7
split-complementary
#6A54EF #EFB754 #8BEF54
monochromatic
#2911B7 #391CEA #6A54EF #9B8CF4 #CCC4F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A54EF#FFFFFF#000000##FFFFFF
##6A54EF1.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)
#0073F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#277B9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a54ef;
/* rgb */ color: rgb(106, 84, 239);
/* oklch */ color: oklch(56.0% 0.222 283.0);
Tailwind
colors: {
  custom: {
    50: '#a086f5',
    500: '#6a54ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a54ef;
$custom-light: #a086f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54ef",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 248.516,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.22198,
    "h": 283
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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