#7957EE#7957EE

#7957EE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.216 H 288.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7957EE
RGBrgb(121, 87, 238)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(49.2%, 63.4%, 0%, 6.7%)
CIE-LABlab(48.33, 50.28, -71.61)
CIE-LCHlch(48.33, 87.50, 305.07°)
OKLaboklab(57.6% 0.0668 -0.2052)
OKLCHoklch(57.6% 0.216 288)
XYZxyz(26.7215, 17.0532, 82.7560)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957EE #CCEE57
analogous
#5780EE #7957EE #C457EE
triadic
#7957EE #EE7957 #57EE79
tetradic
#7957EE #EE5780 #CCEE57 #57EEC4
square
#7957EE #EE5780 #CCEE57 #57EEC4
split-complementary
#7957EE #EEC457 #80EE57
monochromatic
#3813B8 #4D1FE8 #7957EE #A58FF4 #D2C6F9

Accessibility & contrast

On white

4.76
#7957EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7957EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957EE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957EE#FFFFFF#000000##FFFFFF
##7957EE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#507C9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7957ee;
/* rgb */ color: rgb(121, 87, 238);
/* oklch */ color: oklch(57.6% 0.216 288.0);
Tailwind
colors: {
  custom: {
    50: '#a988f5',
    500: '#7957ee',
    950: '#000000',
  },
}
SCSS
$custom: #7957ee;
$custom-light: #a988f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7957ee",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 253.51,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.21581,
    "h": 288
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#7957EE
secondary
#DFEBB6
accent
#DE08AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7957EE

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

Preview Lab → · Contrast checker → · Palette generator →

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