#6A56EA#6A56EA

#6A56EA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.213 H 283.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6A56EA
RGBrgb(106, 86, 234)
HSLhsl(248, 78%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(54.7%, 63.2%, 0%, 8.2%)
CIE-LABlab(46.52, 47.05, -72.35)
CIE-LCHlch(46.52, 86.31, 303.04°)
OKLaboklab(55.88% 0.0487 -0.2079)
OKLCHoklch(55.88% 0.213 283.2)
XYZxyz(24.1184, 15.6588, 79.5775)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56EA #D6EA56
analogous
#568CEA #6A56EA #B456EA
triadic
#6A56EA #EA6A56 #56EA6A
tetradic
#6A56EA #EA568C #D6EA56 #56EAB4
square
#6A56EA #EA568C #D6EA56 #56EAB4
split-complementary
#6A56EA #EAB456 #8CEA56
monochromatic
#2B16B0 #3A20E3 #6A56EA #9A8CF1 #CAC3F8

Accessibility & contrast

On white

5.08
#6A56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A56EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56EA#FFFFFF#000000##FFFFFF
##6A56EA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#2D7B98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a56ea;
/* rgb */ color: rgb(106, 86, 234);
/* oklch */ color: oklch(55.9% 0.213 283.2);
Tailwind
colors: {
  custom: {
    50: '#a087f2',
    500: '#6a56ea',
    950: '#000000',
  },
}
SCSS
$custom: #6a56ea;
$custom-light: #a087f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56ea",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 248.108,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.21349,
    "h": 283.2
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#6A56EA
secondary
#E1E9B3
accent
#DA0BBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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