#6A56E4#6A56E4

#6A56E4 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.4% C 0.206 H 283.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6A56E4
RGBrgb(106, 86, 228)
HSLhsl(248, 72%, 62%)
HSVhsv(248, 62%, 89%)
CMYKcmyk(53.5%, 62.3%, 0%, 10.6%)
CIE-LABlab(46.07, 45.26, -69.70)
CIE-LCHlch(46.07, 83.11, 302.99°)
OKLaboklab(55.41% 0.0492 -0.2001)
OKLCHoklch(55.41% 0.206 283.8)
XYZxyz(23.2710, 15.3199, 75.1145)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56E4 #D0E456
analogous
#5689E4 #6A56E4 #B156E4
triadic
#6A56E4 #E46A56 #56E46A
tetradic
#6A56E4 #E45689 #D0E456 #56E4B1
square
#6A56E4 #E45689 #D0E456 #56E4B1
split-complementary
#6A56E4 #E4B156 #89E456
monochromatic
#2E1AA5 #3D23DA #6A56E4 #998BEC #C7C0F5

Accessibility & contrast

On white

5.17
#6A56E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6A56E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56E4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56E4#FFFFFF#000000##FFFFFF
##6A56E41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#357995
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a56e4;
/* rgb */ color: rgb(106, 86, 228);
/* oklch */ color: oklch(55.4% 0.206 283.8);
Tailwind
colors: {
  custom: {
    50: '#9f87ed',
    500: '#6a56e4',
    950: '#000000',
  },
}
SCSS
$custom: #6a56e4;
$custom-light: #9f87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56e4",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 248.451,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.20603,
    "h": 283.8
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#6A56E4
secondary
#DEE5B0
accent
#D511B9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6A56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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