#6B56E6#6B56E6

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

Color values

HEX#6B56E6
RGBrgb(107, 86, 230)
HSLhsl(249, 74%, 62%)
HSVhsv(249, 63%, 90%)
CMYKcmyk(53.5%, 62.6%, 0%, 9.8%)
CIE-LABlab(46.30, 46.03, -70.45)
CIE-LCHlch(46.30, 84.16, 303.16°)
OKLaboklab(55.65% 0.0503 -0.2022)
OKLCHoklch(55.65% 0.208 284)
XYZxyz(23.6698, 15.4932, 76.5908)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56E6 #D1E656
analogous
#5689E6 #6B56E6 #B356E6
triadic
#6B56E6 #E66B56 #56E66B
tetradic
#6B56E6 #E65689 #D1E656 #56E6B3
square
#6B56E6 #E65689 #D1E656 #56E6B3
split-complementary
#6B56E6 #E6B356 #89E656
monochromatic
#2E19A9 #3C21DE #6B56E6 #9A8BEE #C8C1F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B56E6#FFFFFF#000000##FFFFFF
##6B56E61.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)
#0072EB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#357996
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b56e6;
/* rgb */ color: rgb(107, 86, 230);
/* oklch */ color: oklch(55.6% 0.208 284.0);
Tailwind
colors: {
  custom: {
    50: '#a087ef',
    500: '#6b56e6',
    950: '#000000',
  },
}
SCSS
$custom: #6b56e6;
$custom-light: #a087ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56e6",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 248.75,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.2084,
    "h": 284
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#6B56E6
secondary
#DFE6B1
accent
#D60FB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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