#6A56ED#6A56ED

#6A56ED is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.217 H 282.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A56ED
RGBrgb(106, 86, 237)
HSLhsl(248, 81%, 63%)
HSVhsv(248, 64%, 93%)
CMYKcmyk(55.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(46.75, 47.95, -73.67)
CIE-LCHlch(46.75, 87.90, 303.06°)
OKLaboklab(56.12% 0.0484 -0.2117)
OKLCHoklch(56.12% 0.217 282.9)
XYZxyz(24.5530, 15.8327, 81.8666)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56ED #D9ED56
analogous
#568DED #6A56ED #B556ED
triadic
#6A56ED #ED6A56 #56ED6A
tetradic
#6A56ED #ED568D #D9ED56 #56EDB5
square
#6A56ED #ED568D #D9ED56 #56EDB5
split-complementary
#6A56ED #EDB556 #8DED56
monochromatic
#2913B5 #391FE7 #6A56ED #9B8DF3 #CCC5F9

Accessibility & contrast

On white

5.04
#6A56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6A56ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56ED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56ED#FFFFFF#000000##FFFFFF
##6A56ED1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#297C9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a56ed;
/* rgb */ color: rgb(106, 86, 237);
/* oklch */ color: oklch(56.1% 0.217 282.9);
Tailwind
colors: {
  custom: {
    50: '#a087f4',
    500: '#6a56ed',
    950: '#000000',
  },
}
SCSS
$custom: #6a56ed;
$custom-light: #a087f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56ed",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 247.947,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56123,
    "c": 0.21718,
    "h": 282.9
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#6A56ED
secondary
#E3EAB4
accent
#DD08C1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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