#7950E2#7950E2

#7950E2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.210 H 290.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7950E2
RGBrgb(121, 80, 226)
HSLhsl(257, 72%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.5%, 64.6%, 0%, 11.4%)
CIE-LABlab(46.03, 50.73, -68.57)
CIE-LCHlch(46.03, 85.30, 306.50°)
OKLaboklab(55.66% 0.0749 -0.1963)
OKLCHoklch(55.66% 0.21 290.9)
XYZxyz(24.4774, 15.2924, 73.5988)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950E2 #B9E250
analogous
#5070E2 #7950E2 #C250E2
triadic
#7950E2 #E27950 #50E279
tetradic
#7950E2 #E25070 #B9E250 #50E2C2
square
#7950E2 #E25070 #B9E250 #50E2C2
split-complementary
#7950E2 #E2C250 #70E250
monochromatic
#3F1A9E #5423D2 #7950E2 #A184EB #C9B9F3

Accessibility & contrast

On white

5.17
#7950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7950E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950E2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950E2#FFFFFF#000000##FFFFFF
##7950E21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#587392
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7950e2;
/* rgb */ color: rgb(121, 80, 226);
/* oklch */ color: oklch(55.7% 0.210 290.9);
Tailwind
colors: {
  custom: {
    50: '#a883ec',
    500: '#7950e2',
    950: '#000000',
  },
}
SCSS
$custom: #7950e2;
$custom-light: #a883ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7950e2",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 256.849,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.2101,
    "h": 290.9
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#7950E2
secondary
#D3E3AB
accent
#EE39BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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