#7950E7#7950E7

#7950E7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.216 H 290.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7950E7
RGBrgb(121, 80, 231)
HSLhsl(256, 76%, 61%)
HSVhsv(256, 65%, 91%)
CMYKcmyk(47.6%, 65.4%, 0%, 9.4%)
CIE-LABlab(46.41, 52.11, -70.79)
CIE-LCHlch(46.41, 87.90, 306.35°)
OKLaboklab(56.05% 0.0744 -0.2028)
OKLCHoklch(56.05% 0.216 290.1)
XYZxyz(25.1735, 15.5708, 77.2649)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950E7 #BEE750
analogous
#5072E7 #7950E7 #C450E7
triadic
#7950E7 #E77950 #50E779
tetradic
#7950E7 #E75072 #BEE750 #50E7C4
square
#7950E7 #E75072 #BEE750 #50E7C4
split-complementary
#7950E7 #E7C450 #72E750
monochromatic
#3E17A6 #521EDC #7950E7 #A286EE #CBBCF6

Accessibility & contrast

On white

5.10
#7950E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7950E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950E7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950E7#FFFFFF#000000##FFFFFF
##7950E71.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#557595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7950e7;
/* rgb */ color: rgb(121, 80, 231);
/* oklch */ color: oklch(56.0% 0.216 290.1);
Tailwind
colors: {
  custom: {
    50: '#a883f0',
    500: '#7950e7',
    950: '#000000',
  },
}
SCSS
$custom: #7950e7;
$custom-light: #a883f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7950e7",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 256.291,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.21601,
    "h": 290.1
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#7950E7
secondary
#D6E6AD
accent
#D80DA1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7950E7

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

Preview Lab → · Contrast checker → · Palette generator →

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