#6A56F2#6A56F2

#6A56F2 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.5% C 0.223 H 282.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6A56F2
RGBrgb(106, 86, 242)
HSLhsl(248, 86%, 64%)
HSVhsv(248, 64%, 95%)
CMYKcmyk(56.2%, 64.5%, 0%, 5.1%)
CIE-LABlab(47.14, 49.44, -75.84)
CIE-LCHlch(47.14, 90.53, 303.10°)
OKLaboklab(56.53% 0.0479 -0.2181)
OKLCHoklch(56.53% 0.223 282.4)
XYZxyz(25.2937, 16.1289, 85.7675)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56F2 #DEF256
analogous
#5690F2 #6A56F2 #B856F2
triadic
#6A56F2 #F26A56 #56F26A
tetradic
#6A56F2 #F25690 #DEF256 #56F2B8
square
#6A56F2 #F25690 #DEF256 #56F2B8
split-complementary
#6A56F2 #F2B856 #90F256
monochromatic
#250FBF #381DEE #6A56F2 #9C8FF6 #CEC8FB

Accessibility & contrast

On white

4.97
#6A56F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6A56F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56F2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56F2#FFFFFF#000000##FFFFFF
##6A56F21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#217D9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a56f2;
/* rgb */ color: rgb(106, 86, 242);
/* oklch */ color: oklch(56.5% 0.223 282.4);
Tailwind
colors: {
  custom: {
    50: '#a187f7',
    500: '#6a56f2',
    950: '#000000',
  },
}
SCSS
$custom: #6a56f2;
$custom-light: #a187f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56f2",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 247.692,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.2233,
    "h": 282.4
  },
  "luminance": 0.16131
}

Semantic roles & 50–950 ramp

primary
#6A56F2
secondary
#E6EDB7
accent
#E203C6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A56F2

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

Preview Lab → · Contrast checker → · Palette generator →

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