#7950EF#7950EF

#7950EF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.225 H 289.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7950EF
RGBrgb(121, 80, 239)
HSLhsl(255, 83%, 63%)
HSVhsv(255, 67%, 94%)
CMYKcmyk(49.4%, 66.5%, 0%, 6.3%)
CIE-LABlab(47.02, 54.31, -74.31)
CIE-LCHlch(47.02, 92.04, 306.16°)
OKLaboklab(56.68% 0.0733 -0.2131)
OKLCHoklch(56.68% 0.225 289)
XYZxyz(26.3293, 16.0331, 83.3520)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950EF #C6EF50
analogous
#5076EF #7950EF #C950EF
triadic
#7950EF #EF7950 #50EF79
tetradic
#7950EF #EF5076 #C6EF50 #50EFC9
square
#7950EF #EF5076 #C6EF50 #50EFC9
split-complementary
#7950EF #EFC950 #76EF50
monochromatic
#3B10B4 #4E18EA #7950EF #A488F4 #CFC0F9

Accessibility & contrast

On white

4.99
#7950EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7950EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950EF#FFFFFF#000000##FFFFFF
##7950EF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#507899
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7950ef;
/* rgb */ color: rgb(121, 80, 239);
/* oklch */ color: oklch(56.7% 0.225 289.0);
Tailwind
colors: {
  custom: {
    50: '#a984f5',
    500: '#7950ef',
    950: '#000000',
  },
}
SCSS
$custom: #7950ef;
$custom-light: #a984f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7950ef",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 255.472,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.22538,
    "h": 289
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#7950EF
secondary
#DBEAB0
accent
#E006A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7950EF

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

Preview Lab → · Contrast checker → · Palette generator →

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