#7956E9#7956E9

#7956E9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.211 H 288.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7956E9
RGBrgb(121, 86, 233)
HSLhsl(254, 77%, 63%)
HSVhsv(254, 63%, 91%)
CMYKcmyk(48.1%, 63.1%, 0%, 8.6%)
CIE-LABlab(47.76, 49.42, -69.73)
CIE-LCHlch(47.76, 85.47, 305.33°)
OKLaboklab(57.07% 0.0682 -0.1997)
OKLCHoklch(57.07% 0.211 288.9)
XYZxyz(25.9167, 16.6026, 78.9141)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7956E9 #C6E956
analogous
#567CE9 #7956E9 #C356E9
triadic
#7956E9 #E97956 #56E979
tetradic
#7956E9 #E9567C #C6E956 #56E9C3
square
#7956E9 #E9567C #C6E956 #56E9C3
split-complementary
#7956E9 #E9C356 #7CE956
monochromatic
#3B17AE #4E20E2 #7956E9 #A48CF0 #CFC2F7

Accessibility & contrast

On white

4.86
#7956E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7956E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7956E9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7956E9#FFFFFF#000000##FFFFFF
##7956E91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#537998
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7956e9;
/* rgb */ color: rgb(121, 86, 233);
/* oklch */ color: oklch(57.1% 0.211 288.9);
Tailwind
colors: {
  custom: {
    50: '#a887f1',
    500: '#7956e9',
    950: '#000000',
  },
}
SCSS
$custom: #7956e9;
$custom-light: #a887f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7956e9",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 254.286,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.21101,
    "h": 288.9
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#7956E9
secondary
#DBE8B3
accent
#D90CA8
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7956E9

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

Preview Lab → · Contrast checker → · Palette generator →

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