#7D56BB#7D56BB

#7D56BB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.154 H 299.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7D56BB
RGBrgb(125, 86, 187)
HSLhsl(263, 43%, 54%)
HSVhsv(263, 54%, 73%)
CMYKcmyk(33.2%, 54%, 0%, 26.7%)
CIE-LABlab(45.09, 37.78, -47.66)
CIE-LCHlch(45.09, 60.82, 308.40°)
OKLaboklab(54.24% 0.0747 -0.1347)
OKLCHoklch(54.24% 0.154 299)
XYZxyz(20.7527, 14.6032, 48.7294)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56BB #94BB56
analogous
#5661BB #7D56BB #AF56BB
triadic
#7D56BB #BB7D56 #56BB7D
tetradic
#7D56BB #BB5661 #94BB56 #56BBAF
square
#7D56BB #BB5661 #94BB56 #56BBAF
split-complementary
#7D56BB #BBAF56 #61BB56
monochromatic
#442B6B #603D97 #7D56BB #9F82CD #C0ADDE

Accessibility & contrast

On white

5.36
#7D56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7D56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56BB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56BB#FFFFFF#000000##FFFFFF
##7D56BB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#706A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d56bb;
/* rgb */ color: rgb(125, 86, 187);
/* oklch */ color: oklch(54.2% 0.154 299.0);
Tailwind
colors: {
  custom: {
    50: '#a687d0',
    500: '#7d56bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d56bb;
$custom-light: #a687d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56bb",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 263.168,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.15404,
    "h": 299
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#7D56BB
secondary
#BBCCA1
accent
#D255A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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