#7957FC#7957FC

#7957FC is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.232 H 286.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7957FC
RGBrgb(121, 87, 252)
HSLhsl(252, 96%, 66%)
HSVhsv(252, 65%, 99%)
CMYKcmyk(52%, 65.5%, 0%, 1.2%)
CIE-LABlab(49.38, 54.23, -77.71)
CIE-LCHlch(49.38, 94.77, 304.91°)
OKLaboklab(58.7% 0.0652 -0.2231)
OKLCHoklch(58.7% 0.232 286.3)
XYZxyz(28.8588, 17.9081, 94.0126)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957FC #DAFC57
analogous
#5788FC #7957FC #CC57FC
triadic
#7957FC #FC7957 #57FC79
tetradic
#7957FC #FC5788 #DAFC57 #57FCCC
square
#7957FC #FC5788 #DAFC57 #57FCCC
split-complementary
#7957FC #FCCC57 #88FC57
monochromatic
#2F04D5 #491BFB #7957FC #A993FD #D9CFFE

Accessibility & contrast

On white

4.58
#7957FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7957FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7957FC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957FC#FFFFFF#000000##000000
##7957FC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071F9
Tritanopia (blue-blind)
#4580A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7957fc;
/* rgb */ color: rgb(121, 87, 252);
/* oklch */ color: oklch(58.7% 0.232 286.3);
Tailwind
colors: {
  custom: {
    50: '#aa88fe',
    500: '#7957fc',
    950: '#000000',
  },
}
SCSS
$custom: #7957fc;
$custom-light: #aa88fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7957fc",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 252.364,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58696,
    "c": 0.23247,
    "h": 286.3
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7957FC

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

Preview Lab → · Contrast checker → · Palette generator →

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