#7950E4#7950E4

#7950E4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.212 H 290.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7950E4
RGBrgb(121, 80, 228)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.9%, 64.9%, 0%, 10.6%)
CIE-LABlab(46.18, 51.28, -69.46)
CIE-LCHlch(46.18, 86.34, 306.44°)
OKLaboklab(55.82% 0.0747 -0.1989)
OKLCHoklch(55.82% 0.212 290.6)
XYZxyz(24.7534, 15.4028, 75.0525)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950E4 #BBE450
analogous
#5071E4 #7950E4 #C350E4
triadic
#7950E4 #E47950 #50E479
tetradic
#7950E4 #E45071 #BBE450 #50E4C3
square
#7950E4 #E45071 #BBE450 #50E4C3
split-complementary
#7950E4 #E4C350 #71E450
monochromatic
#3E19A1 #5321D6 #7950E4 #A285EC #CABAF4

Accessibility & contrast

On white

5.15
#7950E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7950E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950E4#FFFFFF#000000##FFFFFF
##7950E41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#577493
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7950e4;
/* rgb */ color: rgb(121, 80, 228);
/* oklch */ color: oklch(55.8% 0.212 290.6);
Tailwind
colors: {
  custom: {
    50: '#a883ed',
    500: '#7950e4',
    950: '#000000',
  },
}
SCSS
$custom: #7950e4;
$custom-light: #a883ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7950e4",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 256.622,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.21247,
    "h": 290.6
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#7950E4
secondary
#D5E4AC
accent
#D5109F
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7950E4

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

Preview Lab → · Contrast checker → · Palette generator →

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