#7D56BE#7D56BE

#7D56BE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.158 H 298.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D56BE
RGBrgb(125, 86, 190)
HSLhsl(263, 44%, 54%)
HSVhsv(263, 55%, 75%)
CMYKcmyk(34.2%, 54.7%, 0%, 25.5%)
CIE-LABlab(45.27, 38.56, -49.12)
CIE-LCHlch(45.27, 62.45, 308.14°)
OKLaboklab(54.43% 0.0748 -0.139)
OKLCHoklch(54.43% 0.158 298.3)
XYZxyz(21.0772, 14.7330, 50.4385)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56BE #97BE56
analogous
#5663BE #7D56BE #B156BE
triadic
#7D56BE #BE7D56 #56BE7D
tetradic
#7D56BE #BE5663 #97BE56 #56BEB1
square
#7D56BE #BE5663 #97BE56 #56BEB1
split-complementary
#7D56BE #BEB156 #63BE56
monochromatic
#442B6F #5F3C9B #7D56BE #9F82CF #C1AEE0

Accessibility & contrast

On white

5.32
#7D56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7D56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56BE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56BE#FFFFFF#000000##FFFFFF
##7D56BE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#376ABC
Tritanopia (blue-blind)
#6F6B82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d56be;
/* rgb */ color: rgb(125, 86, 190);
/* oklch */ color: oklch(54.4% 0.158 298.3);
Tailwind
colors: {
  custom: {
    50: '#a687d2',
    500: '#7d56be',
    950: '#000000',
  },
}
SCSS
$custom: #7d56be;
$custom-light: #a687d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56be",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 262.5,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.15784,
    "h": 298.3
  },
  "luminance": 0.14733
}

Semantic roles & 50–950 ramp

primary
#7D56BE
secondary
#BDCEA2
accent
#D454A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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