#7D56DD#7D56DD

#7D56DD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.196 H 292.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7D56DD
RGBrgb(125, 86, 221)
HSLhsl(257, 67%, 60%)
HSVhsv(257, 61%, 87%)
CMYKcmyk(43.4%, 61.1%, 0%, 13.3%)
CIE-LABlab(47.28, 46.88, -63.69)
CIE-LCHlch(47.28, 79.08, 306.36°)
OKLaboklab(56.55% 0.0744 -0.1818)
OKLCHoklch(56.55% 0.196 292.3)
XYZxyz(24.8328, 16.2353, 70.2179)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56DD #B6DD56
analogous
#5673DD #7D56DD #C056DD
triadic
#7D56DD #DD7D56 #56DD7D
tetradic
#7D56DD #DD5673 #B6DD56 #56DDC0
square
#7D56DD #DD5673 #B6DD56 #56DDC0
split-complementary
#7D56DD #DDC056 #73DD56
monochromatic
#421F9A #5829CD #7D56DD #A489E7 #CBBCF2

Accessibility & contrast

On white

4.94
#7D56DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7D56DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56DD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56DD#FFFFFF#000000##FFFFFF
##7D56DD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#627591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d56dd;
/* rgb */ color: rgb(125, 86, 221);
/* oklch */ color: oklch(56.5% 0.196 292.3);
Tailwind
colors: {
  custom: {
    50: '#a987e8',
    500: '#7d56dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d56dd;
$custom-light: #a987e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56dd",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 257.333,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.19643,
    "h": 292.3
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#7D56DD
secondary
#D2E1AE
accent
#CE1799
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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