#7957E9#7957E9

#7957E9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.2% C 0.210 H 288.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7957E9
RGBrgb(121, 87, 233)
HSLhsl(254, 77%, 63%)
HSVhsv(254, 63%, 91%)
CMYKcmyk(48.1%, 62.7%, 0%, 8.6%)
CIE-LABlab(47.96, 48.87, -69.39)
CIE-LCHlch(47.96, 84.88, 305.16°)
OKLaboklab(57.22% 0.0672 -0.1987)
OKLCHoklch(57.22% 0.21 288.7)
XYZxyz(25.9971, 16.7634, 78.9409)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957E9 #C7E957
analogous
#577EE9 #7957E9 #C257E9
triadic
#7957E9 #E97957 #57E979
tetradic
#7957E9 #E9577E #C7E957 #57E9C2
square
#7957E9 #E9577E #C7E957 #57E9C2
split-complementary
#7957E9 #E9C257 #7EE957
monochromatic
#3A17AF #4E21E2 #7957E9 #A48DF0 #CFC3F7

Accessibility & contrast

On white

4.82
#7957E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7957E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957E9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957E9#FFFFFF#000000##FFFFFF
##7957E91.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#537A98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7957e9;
/* rgb */ color: rgb(121, 87, 233);
/* oklch */ color: oklch(57.2% 0.210 288.7);
Tailwind
colors: {
  custom: {
    50: '#a888f1',
    500: '#7957e9',
    950: '#000000',
  },
}
SCSS
$custom: #7957e9;
$custom-light: #a888f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7957e9",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 253.973,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.20976,
    "h": 288.7
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#7957E9
secondary
#DCE8B3
accent
#D90CA9
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7957E9

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

Preview Lab → · Contrast checker → · Palette generator →

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