#7D56ED#7D56ED

#7D56ED is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.216 H 289.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D56ED
RGBrgb(125, 86, 237)
HSLhsl(255, 81%, 63%)
HSVhsv(255, 64%, 93%)
CMYKcmyk(47.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(48.42, 51.27, -70.88)
CIE-LCHlch(48.42, 87.48, 305.88°)
OKLaboklab(57.74% 0.0731 -0.2029)
OKLCHoklch(57.74% 0.216 289.8)
XYZxyz(27.0669, 17.1289, 81.9844)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56ED #C6ED56
analogous
#567AED #7D56ED #C956ED
triadic
#7D56ED #ED7D56 #56ED7D
tetradic
#7D56ED #ED567A #C6ED56 #56EDC9
square
#7D56ED #ED567A #C6ED56 #56EDC9
split-complementary
#7D56ED #EDC956 #7AED56
monochromatic
#3D13B5 #521FE7 #7D56ED #A88DF3 #D2C5F9

Accessibility & contrast

On white

4.74
#7D56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D56ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56ED
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56ED#FFFFFF#000000##FFFFFF
##7D56ED1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006FEA
Tritanopia (blue-blind)
#597A9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d56ed;
/* rgb */ color: rgb(125, 86, 237);
/* oklch */ color: oklch(57.7% 0.216 289.8);
Tailwind
colors: {
  custom: {
    50: '#ab88f4',
    500: '#7d56ed',
    950: '#000000',
  },
}
SCSS
$custom: #7d56ed;
$custom-light: #ab88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56ed",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 255.497,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.2157,
    "h": 289.8
  },
  "luminance": 0.1713
}

Semantic roles & 50–950 ramp

primary
#7D56ED
secondary
#DCEAB4
accent
#DD08A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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