#6B56DF#6B56DF

#6B56DF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 55.1% C 0.200 H 284.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6B56DF
RGBrgb(107, 86, 223)
HSLhsl(249, 68%, 61%)
HSVhsv(249, 61%, 87%)
CMYKcmyk(52%, 61.4%, 0%, 12.5%)
CIE-LABlab(45.78, 43.95, -67.33)
CIE-LCHlch(45.78, 80.40, 303.13°)
OKLaboklab(55.11% 0.0508 -0.1931)
OKLCHoklch(55.11% 0.2 284.7)
XYZxyz(22.7065, 15.1079, 71.5174)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56DF #CADF56
analogous
#5685DF #6B56DF #AF56DF
triadic
#6B56DF #DF6B56 #56DF6B
tetradic
#6B56DF #DF5685 #CADF56 #56DFAF
square
#6B56DF #DF5685 #CADF56 #56DFAF
split-complementary
#6B56DF #DFAF56 #85DF56
monochromatic
#311E9D #4127D0 #6B56DF #9889E9 #C5BDF2

Accessibility & contrast

On white

5.22
#6B56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6B56DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56DF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56DF#FFFFFF#000000##FFFFFF
##6B56DF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#3C7792
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6b56df;
/* rgb */ color: rgb(107, 86, 223);
/* oklch */ color: oklch(55.1% 0.200 284.7);
Tailwind
colors: {
  custom: {
    50: '#9f87ea',
    500: '#6b56df',
    950: '#000000',
  },
}
SCSS
$custom: #6b56df;
$custom-light: #9f87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56df",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 249.197,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.19965,
    "h": 284.7
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#6B56DF
secondary
#DAE2AE
accent
#D015B3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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