#6B56E4#6B56E4

#6B56E4 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.206 H 284.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6B56E4
RGBrgb(107, 86, 228)
HSLhsl(249, 72%, 62%)
HSVhsv(249, 62%, 89%)
CMYKcmyk(53.1%, 62.3%, 0%, 10.6%)
CIE-LABlab(46.15, 45.43, -69.56)
CIE-LCHlch(46.15, 83.09, 303.15°)
OKLaboklab(55.49% 0.0505 -0.1996)
OKLCHoklch(55.49% 0.206 284.2)
XYZxyz(23.3905, 15.3815, 75.1202)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56E4 #CFE456
analogous
#5688E4 #6B56E4 #B256E4
triadic
#6B56E4 #E46B56 #56E46B
tetradic
#6B56E4 #E45688 #CFE456 #56E4B2
square
#6B56E4 #E45688 #CFE456 #56E4B2
split-complementary
#6B56E4 #E4B256 #88E456
monochromatic
#2F1AA5 #3E23DA #6B56E4 #998BEC #C7C0F5

Accessibility & contrast

On white

5.15
#6B56E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6B56E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56E4#FFFFFF#000000##FFFFFF
##6B56E41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#377995
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b56e4;
/* rgb */ color: rgb(107, 86, 228);
/* oklch */ color: oklch(55.5% 0.206 284.2);
Tailwind
colors: {
  custom: {
    50: '#9f87ed',
    500: '#6b56e4',
    950: '#000000',
  },
}
SCSS
$custom: #6b56e4;
$custom-light: #9f87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56e4",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 248.873,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.20591,
    "h": 284.2
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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