#7956BD#7956BD

#7956BD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.156 H 296.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7956BD
RGBrgb(121, 86, 189)
HSLhsl(260, 44%, 54%)
HSVhsv(260, 54%, 74%)
CMYKcmyk(36%, 54.5%, 0%, 25.9%)
CIE-LABlab(44.79, 37.31, -49.32)
CIE-LCHlch(44.79, 61.84, 307.10°)
OKLaboklab(53.96% 0.0696 -0.1397)
OKLCHoklch(53.96% 0.156 296.5)
XYZxyz(20.3959, 14.3943, 49.8381)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7956BD #9ABD56
analogous
#5667BD #7956BD #AD56BD
triadic
#7956BD #BD7956 #56BD79
tetradic
#7956BD #BD5667 #9ABD56 #56BDAD
square
#7956BD #BD5667 #9ABD56 #56BDAD
split-complementary
#7956BD #BDAD56 #67BD56
monochromatic
#422B6E #5C3C9A #7956BD #9C82CE #BFAEDF

Accessibility & contrast

On white

5.41
#7956BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7956BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7956BD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7956BD#FFFFFF#000000##FFFFFF
##7956BD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6AC0
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#696B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7956bd;
/* rgb */ color: rgb(121, 86, 189);
/* oklch */ color: oklch(54.0% 0.156 296.5);
Tailwind
colors: {
  custom: {
    50: '#a387d1',
    500: '#7956bd',
    950: '#000000',
  },
}
SCSS
$custom: #7956bd;
$custom-light: #a387d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7956bd",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 260.388,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.15606,
    "h": 296.5
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#7956BD
secondary
#BECDA1
accent
#D454A8
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7956BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7956BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva