#6B54EA#6B54EA

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

Color values

HEX#6B54EA
RGBrgb(107, 84, 234)
HSLhsl(249, 78%, 62%)
HSVhsv(249, 64%, 92%)
CMYKcmyk(54.3%, 64.1%, 0%, 8.2%)
CIE-LABlab(46.18, 48.34, -72.90)
CIE-LCHlch(46.18, 87.47, 303.55°)
OKLaboklab(55.66% 0.0518 -0.2094)
OKLCHoklch(55.66% 0.216 283.9)
XYZxyz(24.0805, 15.4056, 79.5306)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54EA #D3EA54
analogous
#5488EA #6B54EA #B654EA
triadic
#6B54EA #EA6B54 #54EA6B
tetradic
#6B54EA #EA5488 #D3EA54 #54EAB6
square
#6B54EA #EA5488 #D3EA54 #54EAB6
split-complementary
#6B54EA #EAB654 #88EA54
monochromatic
#2D15AE #3C1DE3 #6B54EA #9A8BF1 #C9C1F7

Accessibility & contrast

On white

5.15
#6B54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6B54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54EA#FFFFFF#000000##FFFFFF
##6B54EA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#317998
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b54ea;
/* rgb */ color: rgb(107, 84, 234);
/* oklch */ color: oklch(55.7% 0.216 283.9);
Tailwind
colors: {
  custom: {
    50: '#a085f2',
    500: '#6b54ea',
    950: '#000000',
  },
}
SCSS
$custom: #6b54ea;
$custom-light: #a085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54ea",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 249.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.21575,
    "h": 283.9
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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