#6B56EA#6B56EA

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

Color values

HEX#6B56EA
RGBrgb(107, 86, 234)
HSLhsl(249, 78%, 63%)
HSVhsv(249, 63%, 92%)
CMYKcmyk(54.3%, 63.2%, 0%, 8.2%)
CIE-LABlab(46.61, 47.22, -72.22)
CIE-LCHlch(46.61, 86.28, 303.18°)
OKLaboklab(55.96% 0.05 -0.2074)
OKLCHoklch(55.96% 0.213 283.5)
XYZxyz(24.2379, 15.7205, 79.5831)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56EA #D5EA56
analogous
#568BEA #6B56EA #B556EA
triadic
#6B56EA #EA6B56 #56EA6B
tetradic
#6B56EA #EA568B #D5EA56 #56EAB5
square
#6B56EA #EA568B #D5EA56 #56EAB5
split-complementary
#6B56EA #EAB556 #8BEA56
monochromatic
#2C16B0 #3B20E3 #6B56EA #9B8CF1 #CAC3F8

Accessibility & contrast

On white

5.07
#6B56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B56EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56EA#FFFFFF#000000##FFFFFF
##6B56EA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#317B98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b56ea;
/* rgb */ color: rgb(107, 86, 234);
/* oklch */ color: oklch(56.0% 0.213 283.5);
Tailwind
colors: {
  custom: {
    50: '#a087f2',
    500: '#6b56ea',
    950: '#000000',
  },
}
SCSS
$custom: #6b56ea;
$custom-light: #a087f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56ea",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 248.514,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.21336,
    "h": 283.5
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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