#7056EF#7056EF

#7056EF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.219 H 284.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7056EF
RGBrgb(112, 86, 239)
HSLhsl(250, 83%, 64%)
HSVhsv(250, 64%, 94%)
CMYKcmyk(53.1%, 64%, 0%, 6.3%)
CIE-LABlab(47.41, 49.54, -73.71)
CIE-LCHlch(47.41, 88.81, 303.91°)
OKLaboklab(56.77% 0.0559 -0.2117)
OKLCHoklch(56.77% 0.219 284.8)
XYZxyz(25.5852, 16.3309, 83.4486)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056EF #D5EF56
analogous
#5688EF #7056EF #BC56EF
triadic
#7056EF #EF7056 #56EF70
tetradic
#7056EF #EF5688 #D5EF56 #56EFBC
square
#7056EF #EF5688 #D5EF56 #56EFBC
split-complementary
#7056EF #EFBC56 #88EF56
monochromatic
#2E12B9 #411EEA #7056EF #9F8EF4 #CFC6FA

Accessibility & contrast

On white

4.92
#7056EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7056EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056EF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056EF#FFFFFF#000000##FFFFFF
##7056EF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#3A7C9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7056ef;
/* rgb */ color: rgb(112, 86, 239);
/* oklch */ color: oklch(56.8% 0.219 284.8);
Tailwind
colors: {
  custom: {
    50: '#a487f5',
    500: '#7056ef',
    950: '#000000',
  },
}
SCSS
$custom: #7056ef;
$custom-light: #a487f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7056ef",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 250.196,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.21891,
    "h": 284.8
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#7056EF
secondary
#E2EBB5
accent
#DF06BA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7056EF

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

Preview Lab → · Contrast checker → · Palette generator →

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