#7E56F9#7E56F9

#7E56F9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.230 H 288.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E56F9
RGBrgb(126, 86, 249)
HSLhsl(255, 93%, 66%)
HSVhsv(255, 65%, 98%)
CMYKcmyk(49.4%, 65.5%, 0%, 2.4%)
CIE-LABlab(49.41, 54.77, -75.98)
CIE-LCHlch(49.41, 93.66, 305.78°)
OKLaboklab(58.75% 0.073 -0.2179)
OKLCHoklch(58.75% 0.23 288.5)
XYZxyz(29.0259, 17.9295, 91.5355)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E56F9 #D1F956
analogous
#567FF9 #7E56F9 #CF56F9
triadic
#7E56F9 #F97E56 #56F97E
tetradic
#7E56F9 #F9567F #D1F956 #56F9CF
square
#7E56F9 #F9567F #D1F956 #56F9CF
split-complementary
#7E56F9 #F9CF56 #7FF956
monochromatic
#3807CD #511BF7 #7E56F9 #AB91FB #D8CCFD

Accessibility & contrast

On white

4.58
#7E56F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7E56F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E56F9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E56F9#FFFFFF#000000##000000
##7E56F91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FE
Deuteranopia (green-blind)
#0071F6
Tritanopia (blue-blind)
#537EA0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e56f9;
/* rgb */ color: rgb(126, 86, 249);
/* oklch */ color: oklch(58.8% 0.230 288.5);
Tailwind
colors: {
  custom: {
    50: '#ad88fc',
    500: '#7e56f9',
    950: '#000000',
  },
}
SCSS
$custom: #7e56f9;
$custom-light: #ad88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e56f9",
  "rgb": {
    "r": 126,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 254.724,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.22983,
    "h": 288.5
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#7E56F9
secondary
#E3F1BA
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E56F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7E56F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva