#7950E9#7950E9

#7950E9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.218 H 289.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7950E9
RGBrgb(121, 80, 233)
HSLhsl(256, 78%, 61%)
HSVhsv(256, 66%, 91%)
CMYKcmyk(48.1%, 65.7%, 0%, 8.6%)
CIE-LABlab(46.56, 52.66, -71.68)
CIE-LCHlch(46.56, 88.94, 306.30°)
OKLaboklab(56.21% 0.0741 -0.2054)
OKLCHoklch(56.21% 0.218 289.8)
XYZxyz(25.4576, 15.6844, 78.7610)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950E9 #C0E950
analogous
#5074E9 #7950E9 #C550E9
triadic
#7950E9 #E97950 #50E979
tetradic
#7950E9 #E95074 #C0E950 #50E9C5
square
#7950E9 #E95074 #C0E950 #50E9C5
split-complementary
#7950E9 #E9C550 #74E950
monochromatic
#3D15A9 #511CE0 #7950E9 #A386F0 #CCBDF7

Accessibility & contrast

On white

5.08
#7950E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7950E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950E9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950E9#FFFFFF#000000##FFFFFF
##7950E91.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#547696
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7950e9;
/* rgb */ color: rgb(121, 80, 233);
/* oklch */ color: oklch(56.2% 0.218 289.8);
Tailwind
colors: {
  custom: {
    50: '#a884f1',
    500: '#7950e9',
    950: '#000000',
  },
}
SCSS
$custom: #7950e9;
$custom-light: #a884f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7950e9",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 256.078,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.21836,
    "h": 289.8
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#7950E9
secondary
#D8E7AE
accent
#DA0CA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7950E9

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

Preview Lab → · Contrast checker → · Palette generator →

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