#7956DD#7956DD

#7956DD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.196 H 290.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7956DD
RGBrgb(121, 86, 221)
HSLhsl(256, 67%, 60%)
HSVhsv(256, 61%, 87%)
CMYKcmyk(45.2%, 61.1%, 0%, 13.3%)
CIE-LABlab(46.90, 46.07, -64.33)
CIE-LCHlch(46.90, 79.12, 305.61°)
OKLaboklab(56.18% 0.0692 -0.1838)
OKLCHoklch(56.18% 0.196 290.6)
XYZxyz(24.2604, 15.9401, 70.1911)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7956DD #BADD56
analogous
#5676DD #7956DD #BD56DD
triadic
#7956DD #DD7956 #56DD79
tetradic
#7956DD #DD5676 #BADD56 #56DDBD
square
#7956DD #DD5676 #BADD56 #56DDBD
split-complementary
#7956DD #DDBD56 #76DD56
monochromatic
#3F1F9A #5429CD #7956DD #A189E7 #CABCF2

Accessibility & contrast

On white

5.01
#7956DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7956DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7956DD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7956DD#FFFFFF#000000##FFFFFF
##7956DD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#5B7591
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7956dd;
/* rgb */ color: rgb(121, 86, 221);
/* oklch */ color: oklch(56.2% 0.196 290.6);
Tailwind
colors: {
  custom: {
    50: '#a787e8',
    500: '#7956dd',
    950: '#000000',
  },
}
SCSS
$custom: #7956dd;
$custom-light: #a787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7956dd",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 255.556,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.19639,
    "h": 290.6
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#7956DD
secondary
#D4E1AE
accent
#CE179F
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7956DD

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

Preview Lab → · Contrast checker → · Palette generator →

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