#6A56E7#6A56E7

#6A56E7 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.210 H 283.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6A56E7
RGBrgb(106, 86, 231)
HSLhsl(248, 75%, 62%)
HSVhsv(248, 63%, 91%)
CMYKcmyk(54.1%, 62.8%, 0%, 9.4%)
CIE-LABlab(46.30, 46.15, -71.03)
CIE-LCHlch(46.30, 84.71, 303.01°)
OKLaboklab(55.65% 0.049 -0.204)
OKLCHoklch(55.65% 0.21 283.5)
XYZxyz(23.6910, 15.4879, 77.3269)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56E7 #D3E756
analogous
#568AE7 #6A56E7 #B356E7
triadic
#6A56E7 #E76A56 #56E76A
tetradic
#6A56E7 #E7568A #D3E756 #56E7B3
square
#6A56E7 #E7568A #D3E756 #56E7B3
split-complementary
#6A56E7 #E7B356 #8AE756
monochromatic
#2C18AA #3B20DF #6A56E7 #998CEF #C8C1F6

Accessibility & contrast

On white

5.12
#6A56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6A56E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56E7#FFFFFF#000000##FFFFFF
##6A56E71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#317A97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a56e7;
/* rgb */ color: rgb(106, 86, 231);
/* oklch */ color: oklch(55.6% 0.210 283.5);
Tailwind
colors: {
  custom: {
    50: '#9f87f0',
    500: '#6a56e7',
    950: '#000000',
  },
}
SCSS
$custom: #6a56e7;
$custom-light: #9f87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56e7",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 248.276,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.20977,
    "h": 283.5
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#6A56E7
secondary
#E0E7B2
accent
#D70EBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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