#7956ED#7956ED

#7956ED is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.216 H 288.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7956ED
RGBrgb(121, 86, 237)
HSLhsl(254, 81%, 63%)
HSVhsv(254, 64%, 93%)
CMYKcmyk(48.9%, 63.7%, 0%, 7.1%)
CIE-LABlab(48.05, 50.54, -71.50)
CIE-LCHlch(48.05, 87.56, 305.26°)
OKLaboklab(57.38% 0.0678 -0.2049)
OKLCHoklch(57.38% 0.216 288.3)
XYZxyz(26.4946, 16.8338, 81.9576)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7956ED #CAED56
analogous
#567EED #7956ED #C456ED
triadic
#7956ED #ED7956 #56ED79
tetradic
#7956ED #ED567E #CAED56 #56EDC4
square
#7956ED #ED567E #CAED56 #56EDC4
split-complementary
#7956ED #EDC456 #7EED56
monochromatic
#3913B5 #4D1FE7 #7956ED #A58DF3 #D1C5F9

Accessibility & contrast

On white

4.81
#7956ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7956ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7956ED
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7956ED#FFFFFF#000000##FFFFFF
##7956ED1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#517B9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7956ed;
/* rgb */ color: rgb(121, 86, 237);
/* oklch */ color: oklch(57.4% 0.216 288.3);
Tailwind
colors: {
  custom: {
    50: '#a887f4',
    500: '#7956ed',
    950: '#000000',
  },
}
SCSS
$custom: #7956ed;
$custom-light: #a887f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7956ed",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 253.907,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57378,
    "c": 0.21583,
    "h": 288.3
  },
  "luminance": 0.16835
}

Semantic roles & 50–950 ramp

primary
#7956ED
secondary
#DEEAB4
accent
#DD08AC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7956ED

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

Preview Lab → · Contrast checker → · Palette generator →

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