#7956BC#7956BC

#7956BC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.9% C 0.155 H 296.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7956BC
RGBrgb(121, 86, 188)
HSLhsl(261, 43%, 54%)
HSVhsv(261, 54%, 74%)
CMYKcmyk(35.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(44.73, 37.04, -48.83)
CIE-LCHlch(44.73, 61.29, 307.18°)
OKLaboklab(53.9% 0.0696 -0.1383)
OKLCHoklch(53.9% 0.155 296.7)
XYZxyz(20.2878, 14.3511, 49.2684)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7956BC #99BC56
analogous
#5666BC #7956BC #AC56BC
triadic
#7956BC #BC7956 #56BC79
tetradic
#7956BC #BC5666 #99BC56 #56BCAC
square
#7956BC #BC5666 #99BC56 #56BCAC
split-complementary
#7956BC #BCAC56 #66BC56
monochromatic
#422B6D #5C3C98 #7956BC #9C82CD #BEAEDF

Accessibility & contrast

On white

5.43
#7956BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7956BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7956BC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7956BC#FFFFFF#000000##FFFFFF
##7956BC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#6A6B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7956bc;
/* rgb */ color: rgb(121, 86, 188);
/* oklch */ color: oklch(53.9% 0.155 296.7);
Tailwind
colors: {
  custom: {
    50: '#a387d1',
    500: '#7956bc',
    950: '#000000',
  },
}
SCSS
$custom: #7956bc;
$custom-light: #a387d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7956bc",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 260.588,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.15477,
    "h": 296.7
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7956BC

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

Preview Lab → · Contrast checker → · Palette generator →

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