#7056F6#7056F6

#7056F6 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.3% C 0.227 H 284.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7056F6
RGBrgb(112, 86, 246)
HSLhsl(250, 90%, 65%)
HSVhsv(250, 65%, 96%)
CMYKcmyk(54.5%, 65%, 0%, 3.5%)
CIE-LABlab(47.95, 51.58, -76.75)
CIE-LCHlch(47.95, 92.47, 303.90°)
OKLaboklab(57.33% 0.0551 -0.2206)
OKLCHoklch(57.33% 0.227 284)
XYZxyz(26.6394, 16.7526, 89.0008)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056F6 #DCF656
analogous
#568CF6 #7056F6 #C056F6
triadic
#7056F6 #F67056 #56F670
tetradic
#7056F6 #F6568C #DCF656 #56F6C0
square
#7056F6 #F6568C #DCF656 #56F6C0
split-complementary
#7056F6 #F6C056 #8CF656
monochromatic
#290BC7 #3F1CF3 #7056F6 #A190F9 #D2CAFC

Accessibility & contrast

On white

4.83
#7056F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7056F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056F6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056F6#FFFFFF#000000##FFFFFF
##7056F61.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)
#0077FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#327E9F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7056f6;
/* rgb */ color: rgb(112, 86, 246);
/* oklch */ color: oklch(57.3% 0.227 284.0);
Tailwind
colors: {
  custom: {
    50: '#a587fa',
    500: '#7056f6',
    950: '#000000',
  },
}
SCSS
$custom: #7056f6;
$custom-light: #a587fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7056f6",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 249.75,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.22736,
    "h": 284
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#7056F6
secondary
#E6EFB9
accent
#E600C0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7056F6

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

Preview Lab → · Contrast checker → · Palette generator →

#7056F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva