#7957FD#7957FD

#7957FD is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.234 H 286.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7957FD
RGBrgb(121, 87, 253)
HSLhsl(252, 98%, 67%)
HSVhsv(252, 66%, 99%)
CMYKcmyk(52.2%, 65.6%, 0%, 0.8%)
CIE-LABlab(49.46, 54.51, -78.14)
CIE-LCHlch(49.46, 95.28, 304.90°)
OKLaboklab(58.78% 0.065 -0.2244)
OKLCHoklch(58.78% 0.234 286.2)
XYZxyz(29.0177, 17.9717, 94.8493)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957FD #DBFD57
analogous
#5788FD #7957FD #CC57FD
triadic
#7957FD #FD7957 #57FD79
tetradic
#7957FD #FD5788 #DBFD57 #57FDCC
square
#7957FD #FD5788 #DBFD57 #57FDCC
split-complementary
#7957FD #FDCC57 #88FD57
monochromatic
#2E03D7 #491BFC #7957FD #A993FE #D9D0FE

Accessibility & contrast

On white

4.57
#7957FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7957FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7957FD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957FD#FFFFFF#000000##000000
##7957FD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071FA
Tritanopia (blue-blind)
#4481A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7957fd;
/* rgb */ color: rgb(121, 87, 253);
/* oklch */ color: oklch(58.8% 0.234 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa88ff',
    500: '#7957fd',
    950: '#000000',
  },
}
SCSS
$custom: #7957fd;
$custom-light: #aa88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7957fd",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 252.289,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.23365,
    "h": 286.2
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#7957FD
secondary
#E8F3BD
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7957FD

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

Preview Lab → · Contrast checker → · Palette generator →

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