#7D56EA#7D56EA

#7D56EA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.212 H 290.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D56EA
RGBrgb(125, 86, 234)
HSLhsl(256, 78%, 63%)
HSVhsv(256, 63%, 92%)
CMYKcmyk(46.6%, 63.2%, 0%, 8.2%)
CIE-LABlab(48.20, 50.45, -69.55)
CIE-LCHlch(48.20, 85.92, 305.96°)
OKLaboklab(57.51% 0.0734 -0.199)
OKLCHoklch(57.51% 0.212 290.2)
XYZxyz(26.6323, 16.9551, 79.6954)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56EA #C3EA56
analogous
#5679EA #7D56EA #C756EA
triadic
#7D56EA #EA7D56 #56EA7D
tetradic
#7D56EA #EA5679 #C3EA56 #56EAC7
square
#7D56EA #EA5679 #C3EA56 #56EAC7
split-complementary
#7D56EA #EAC756 #79EA56
monochromatic
#3E16B0 #5320E3 #7D56EA #A78CF1 #D1C3F8

Accessibility & contrast

On white

4.78
#7D56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7D56EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56EA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56EA#FFFFFF#000000##FFFFFF
##7D56EA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#5A7998
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d56ea;
/* rgb */ color: rgb(125, 86, 234);
/* oklch */ color: oklch(57.5% 0.212 290.2);
Tailwind
colors: {
  custom: {
    50: '#aa88f2',
    500: '#7d56ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d56ea;
$custom-light: #aa88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56ea",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 255.811,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.21212,
    "h": 290.2
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#7D56EA
secondary
#DBE9B3
accent
#DA0BA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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