#7950FA#7950FA

#7950FA is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.238 H 287.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7950FA
RGBrgb(121, 80, 250)
HSLhsl(254, 94%, 65%)
HSVhsv(254, 68%, 98%)
CMYKcmyk(51.6%, 68%, 0%, 2%)
CIE-LABlab(47.88, 57.35, -79.05)
CIE-LCHlch(47.88, 97.66, 305.96°)
OKLaboklab(57.57% 0.0716 -0.2271)
OKLCHoklch(57.57% 0.238 287.5)
XYZxyz(28.0040, 16.7030, 92.1724)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950FA #D1FA50
analogous
#507CFA #7950FA #CE50FA
triadic
#7950FA #FA7950 #50FA79
tetradic
#7950FA #FA507C #D1FA50 #50FACE
square
#7950FA #FA507C #D1FA50 #50FACE
split-complementary
#7950FA #FACE50 #7CFA50
monochromatic
#3506CA #4B15F8 #7950FA #A78CFC #D4C7FD

Accessibility & contrast

On white

4.84
#7950FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7950FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950FA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950FA#FFFFFF#000000##FFFFFF
##7950FA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006DF7
Tritanopia (blue-blind)
#477C9F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7950fa;
/* rgb */ color: rgb(121, 80, 250);
/* oklch */ color: oklch(57.6% 0.238 287.5);
Tailwind
colors: {
  custom: {
    50: '#aa84fd',
    500: '#7950fa',
    950: '#000000',
  },
}
SCSS
$custom: #7950fa;
$custom-light: #aa84fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7950fa",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 250
  },
  "hsl": {
    "h": 254.471,
    "s": 94.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.23809,
    "h": 287.5
  },
  "luminance": 0.16704
}

Semantic roles & 50–950 ramp

primary
#7950FA
secondary
#E2F0B6
accent
#E600AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7950FA

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

Preview Lab → · Contrast checker → · Palette generator →

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