#7957F3#7957F3

#7957F3 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.222 H 287.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7957F3
RGBrgb(121, 87, 243)
HSLhsl(253, 87%, 65%)
HSVhsv(253, 64%, 95%)
CMYKcmyk(50.2%, 64.2%, 0%, 4.7%)
CIE-LABlab(48.70, 51.69, -73.81)
CIE-LCHlch(48.70, 90.11, 305.00°)
OKLaboklab(57.99% 0.0662 -0.2117)
OKLCHoklch(57.99% 0.222 287.4)
XYZxyz(27.4663, 17.3511, 86.6785)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957F3 #D1F357
analogous
#5783F3 #7957F3 #C757F3
triadic
#7957F3 #F37957 #57F379
tetradic
#7957F3 #F35783 #D1F357 #57F3C7
square
#7957F3 #F35783 #D1F357 #57F3C7
split-complementary
#7957F3 #F3C757 #83F357
monochromatic
#350EC2 #4B1EEF #7957F3 #A790F7 #D4C9FB

Accessibility & contrast

On white

4.70
#7957F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7957F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957F3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957F3#FFFFFF#000000##FFFFFF
##7957F31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#006FF0
Tritanopia (blue-blind)
#4C7D9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7957f3;
/* rgb */ color: rgb(121, 87, 243);
/* oklch */ color: oklch(58.0% 0.222 287.4);
Tailwind
colors: {
  custom: {
    50: '#a988f8',
    500: '#7957f3',
    950: '#000000',
  },
}
SCSS
$custom: #7957f3;
$custom-light: #a988f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7957f3",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 253.077,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.2218,
    "h": 287.4
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#7957F3
secondary
#E2EEB8
accent
#E302B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7957F3

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

Preview Lab → · Contrast checker → · Palette generator →

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