#6D56EA#6D56EA

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

Color values

HEX#6D56EA
RGBrgb(109, 86, 234)
HSLhsl(249, 78%, 63%)
HSVhsv(249, 63%, 92%)
CMYKcmyk(53.4%, 63.2%, 0%, 8.2%)
CIE-LABlab(46.77, 47.56, -71.94)
CIE-LCHlch(46.77, 86.24, 303.47°)
OKLaboklab(56.13% 0.0525 -0.2065)
OKLCHoklch(56.13% 0.213 284.3)
XYZxyz(24.4812, 15.8459, 79.5945)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D56EA #D3EA56
analogous
#5689EA #6D56EA #B756EA
triadic
#6D56EA #EA6D56 #56EA6D
tetradic
#6D56EA #EA5689 #D3EA56 #56EAB7
square
#6D56EA #EA5689 #D3EA56 #56EAB7
split-complementary
#6D56EA #EAB756 #89EA56
monochromatic
#2E16B0 #3E20E3 #6D56EA #9C8CF1 #CBC3F8

Accessibility & contrast

On white

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

On black

4.17
#6D56EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6D56EA#FFFFFF#000000##FFFFFF
##6D56EA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#377A98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d56ea;
/* rgb */ color: rgb(109, 86, 234);
/* oklch */ color: oklch(56.1% 0.213 284.3);
Tailwind
colors: {
  custom: {
    50: '#a187f2',
    500: '#6d56ea',
    950: '#000000',
  },
}
SCSS
$custom: #6d56ea;
$custom-light: #a187f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d56ea",
  "rgb": {
    "r": 109,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 249.324,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.21312,
    "h": 284.3
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#6D56EA
secondary
#E0E9B3
accent
#DA0BBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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