#7957FA#7957FA

#7957FA is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.230 H 286.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7957FA
RGBrgb(121, 87, 250)
HSLhsl(253, 94%, 66%)
HSVhsv(253, 65%, 98%)
CMYKcmyk(51.6%, 65.2%, 0%, 2%)
CIE-LABlab(49.23, 53.66, -76.85)
CIE-LCHlch(49.23, 93.73, 304.93°)
OKLaboklab(58.54% 0.0654 -0.2206)
OKLCHoklch(58.54% 0.23 286.5)
XYZxyz(28.5435, 17.7820, 92.3522)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957FA #D8FA57
analogous
#5786FA #7957FA #CA57FA
triadic
#7957FA #FA7957 #57FA79
tetradic
#7957FA #FA5786 #D8FA57 #57FACA
square
#7957FA #FA5786 #D8FA57 #57FACA
split-complementary
#7957FA #FACA57 #86FA57
monochromatic
#3006D0 #4A1CF8 #7957FA #A892FC #D8CEFE

Accessibility & contrast

On white

4.61
#7957FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7957FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7957FA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957FA#FFFFFF#000000##FFFFFF
##7957FA1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#4680A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7957fa;
/* rgb */ color: rgb(121, 87, 250);
/* oklch */ color: oklch(58.5% 0.230 286.5);
Tailwind
colors: {
  custom: {
    50: '#aa88fd',
    500: '#7957fa',
    950: '#000000',
  },
}
SCSS
$custom: #7957fa;
$custom-light: #aa88fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7957fa",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 252.515,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.23012,
    "h": 286.5
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7957FA

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

Preview Lab → · Contrast checker → · Palette generator →

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