#7D56BC#7D56BC

#7D56BC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.155 H 298.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7D56BC
RGBrgb(125, 86, 188)
HSLhsl(263, 43%, 54%)
HSVhsv(263, 54%, 74%)
CMYKcmyk(33.5%, 54.3%, 0%, 26.3%)
CIE-LABlab(45.15, 38.04, -48.15)
CIE-LCHlch(45.15, 61.36, 308.31°)
OKLaboklab(54.3% 0.0748 -0.1361)
OKLCHoklch(54.3% 0.155 298.8)
XYZxyz(20.8601, 14.6462, 49.2952)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56BC #95BC56
analogous
#5662BC #7D56BC #B056BC
triadic
#7D56BC #BC7D56 #56BC7D
tetradic
#7D56BC #BC5662 #95BC56 #56BCB0
square
#7D56BC #BC5662 #95BC56 #56BCB0
split-complementary
#7D56BC #BCB056 #62BC56
monochromatic
#442B6D #603C98 #7D56BC #9F82CD #C0AEDF

Accessibility & contrast

On white

5.34
#7D56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7D56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56BC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56BC#FFFFFF#000000##FFFFFF
##7D56BC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#6F6A81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d56bc;
/* rgb */ color: rgb(125, 86, 188);
/* oklch */ color: oklch(54.3% 0.155 298.8);
Tailwind
colors: {
  custom: {
    50: '#a687d1',
    500: '#7d56bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d56bc;
$custom-light: #a687d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56bc",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 262.941,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.543,
    "c": 0.15531,
    "h": 298.8
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#7D56BC
secondary
#BCCDA1
accent
#D355A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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