#7D56AE#7D56AE

#7D56AE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.4% C 0.137 H 302.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7D56AE
RGBrgb(125, 86, 174)
HSLhsl(267, 35%, 51%)
HSVhsv(267, 51%, 68%)
CMYKcmyk(28.2%, 50.6%, 0%, 31.8%)
CIE-LABlab(44.34, 34.44, -41.25)
CIE-LCHlch(44.34, 53.74, 309.86°)
OKLaboklab(53.44% 0.0738 -0.1159)
OKLCHoklch(53.44% 0.137 302.5)
XYZxyz(19.4235, 14.0715, 41.7290)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56AE #87AE56
analogous
#565BAE #7D56AE #A956AE
triadic
#7D56AE #AE7D56 #56AE7D
tetradic
#7D56AE #AE565B #87AE56 #56AEA9
square
#7D56AE #AE565B #87AE56 #56AEA9
split-complementary
#7D56AE #AEA956 #5BAE56
monochromatic
#422D5D #5F4086 #7D56AE #9D7FC2 #BDA9D6

Accessibility & contrast

On white

5.51
#7D56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7D56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56AE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56AE#FFFFFF#000000##FFFFFF
##7D56AE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#74667A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d56ae;
/* rgb */ color: rgb(125, 86, 174);
/* oklch */ color: oklch(53.4% 0.137 302.5);
Tailwind
colors: {
  custom: {
    50: '#a587c6',
    500: '#7d56ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d56ae;
$custom-light: #a587c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56ae",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 266.591,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.13741,
    "h": 302.5
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#7D56AE
secondary
#B2C39C
accent
#CB5D9A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7D56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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