#7056ED#7056ED

#7056ED is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.6% C 0.216 H 285.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7056ED
RGBrgb(112, 86, 237)
HSLhsl(250, 81%, 63%)
HSVhsv(250, 64%, 93%)
CMYKcmyk(52.7%, 63.7%, 0%, 7.1%)
CIE-LABlab(47.25, 48.96, -72.83)
CIE-LCHlch(47.25, 87.76, 303.91°)
OKLaboklab(56.61% 0.0561 -0.2091)
OKLCHoklch(56.61% 0.216 285)
XYZxyz(25.2913, 16.2134, 81.9012)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056ED #D3ED56
analogous
#5687ED #7056ED #BB56ED
triadic
#7056ED #ED7056 #56ED70
tetradic
#7056ED #ED5687 #D3ED56 #56EDBB
square
#7056ED #ED5687 #D3ED56 #56EDBB
split-complementary
#7056ED #EDBB56 #87ED56
monochromatic
#2F13B5 #411FE7 #7056ED #9F8DF3 #CEC5F9

Accessibility & contrast

On white

4.95
#7056ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7056ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056ED
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056ED#FFFFFF#000000##FFFFFF
##7056ED1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#3C7B9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7056ed;
/* rgb */ color: rgb(112, 86, 237);
/* oklch */ color: oklch(56.6% 0.216 285.0);
Tailwind
colors: {
  custom: {
    50: '#a387f4',
    500: '#7056ed',
    950: '#000000',
  },
}
SCSS
$custom: #7056ed;
$custom-light: #a387f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7056ed",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 250.331,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.21648,
    "h": 285
  },
  "luminance": 0.16215
}

Semantic roles & 50–950 ramp

primary
#7056ED
secondary
#E1EAB4
accent
#DD08B8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7056ED

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

Preview Lab → · Contrast checker → · Palette generator →

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