#7D56F9#7D56F9

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

Color values

HEX#7D56F9
RGBrgb(125, 86, 249)
HSLhsl(254, 93%, 66%)
HSVhsv(254, 65%, 98%)
CMYKcmyk(49.8%, 65.5%, 0%, 2.4%)
CIE-LABlab(49.32, 54.59, -76.14)
CIE-LCHlch(49.32, 93.69, 305.64°)
OKLaboklab(58.66% 0.0717 -0.2184)
OKLCHoklch(58.66% 0.23 288.2)
XYZxyz(28.8791, 17.8538, 91.5286)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56F9 #D2F956
analogous
#5680F9 #7D56F9 #CF56F9
triadic
#7D56F9 #F97D56 #56F97D
tetradic
#7D56F9 #F95680 #D2F956 #56F9CF
square
#7D56F9 #F95680 #D2F956 #56F9CF
split-complementary
#7D56F9 #F9CF56 #80F956
monochromatic
#3707CD #501BF7 #7D56F9 #AA91FB #D8CCFD

Accessibility & contrast

On white

4.59
#7D56F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D56F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56F9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56F9#FFFFFF#000000##FFFFFF
##7D56F91.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d56f9;
/* rgb */ color: rgb(125, 86, 249);
/* oklch */ color: oklch(58.7% 0.230 288.2);
Tailwind
colors: {
  custom: {
    50: '#ac88fc',
    500: '#7d56f9',
    950: '#000000',
  },
}
SCSS
$custom: #7d56f9;
$custom-light: #ac88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56f9",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 254.356,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.22987,
    "h": 288.2
  },
  "luminance": 0.17855
}

Semantic roles & 50–950 ramp

primary
#7D56F9
secondary
#E4F1BA
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D56F9

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

Preview Lab → · Contrast checker → · Palette generator →

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