#7056EB#7056EB

#7056EB is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.5% C 0.214 H 285.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7056EB
RGBrgb(112, 86, 235)
HSLhsl(250, 79%, 63%)
HSVhsv(250, 63%, 92%)
CMYKcmyk(52.3%, 63.4%, 0%, 7.8%)
CIE-LABlab(47.10, 48.37, -71.95)
CIE-LCHlch(47.10, 86.70, 303.91°)
OKLaboklab(56.45% 0.0563 -0.2065)
OKLCHoklch(56.45% 0.214 285.2)
XYZxyz(25.0008, 16.0971, 80.3709)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056EB #D1EB56
analogous
#5686EB #7056EB #BB56EB
triadic
#7056EB #EB7056 #56EB70
tetradic
#7056EB #EB5686 #D1EB56 #56EBBB
square
#7056EB #EB5686 #D1EB56 #56EBBB
split-complementary
#7056EB #EBBB56 #86EB56
monochromatic
#3015B2 #421FE5 #7056EB #9E8DF1 #CDC3F8

Accessibility & contrast

On white

4.98
#7056EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7056EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056EB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056EB#FFFFFF#000000##FFFFFF
##7056EB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#3E7B99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7056eb;
/* rgb */ color: rgb(112, 86, 235);
/* oklch */ color: oklch(56.5% 0.214 285.2);
Tailwind
colors: {
  custom: {
    50: '#a387f2',
    500: '#7056eb',
    950: '#000000',
  },
}
SCSS
$custom: #7056eb;
$custom-light: #a387f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7056eb",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 250.47,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.21403,
    "h": 285.2
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#7056EB
secondary
#E0E9B4
accent
#DB0AB7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7056EB

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

Preview Lab → · Contrast checker → · Palette generator →

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