#6A56FC#6A56FC

#6A56FC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.3% C 0.235 H 281.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6A56FC
RGBrgb(106, 86, 252)
HSLhsl(247, 97%, 66%)
HSVhsv(247, 66%, 99%)
CMYKcmyk(57.9%, 65.9%, 0%, 1.2%)
CIE-LABlab(47.94, 52.42, -80.13)
CIE-LCHlch(47.94, 95.75, 303.19°)
OKLaboklab(57.35% 0.0467 -0.2307)
OKLCHoklch(57.35% 0.235 281.4)
XYZxyz(26.8368, 16.7462, 93.8947)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56FC #E8FC56
analogous
#5695FC #6A56FC #BD56FC
triadic
#6A56FC #FC6A56 #56FC6A
tetradic
#6A56FC #FC5695 #E8FC56 #56FCBD
square
#6A56FC #FC5695 #E8FC56 #56FCBD
split-complementary
#6A56FC #FCBD56 #95FC56
monochromatic
#1D04D4 #351AFB #6A56FC #9F92FD #D4CEFE

Accessibility & contrast

On white

4.83
#6A56FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6A56FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56FC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56FC#FFFFFF#000000##FFFFFF
##6A56FC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006CF9
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a56fc;
/* rgb */ color: rgb(106, 86, 252);
/* oklch */ color: oklch(57.3% 0.235 281.4);
Tailwind
colors: {
  custom: {
    50: '#a287ff',
    500: '#6a56fc',
    950: '#000000',
  },
}
SCSS
$custom: #6a56fc;
$custom-light: #a287ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56fc",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 252
  },
  "hsl": {
    "h": 247.229,
    "s": 96.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.23536,
    "h": 281.4
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#6A56FC
secondary
#EBF2BC
accent
#E600CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6A56FC

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

Preview Lab → · Contrast checker → · Palette generator →

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