#7950EB#7950EB

#7950EB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.221 H 289.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7950EB
RGBrgb(121, 80, 235)
HSLhsl(256, 79%, 62%)
HSVhsv(256, 66%, 92%)
CMYKcmyk(48.5%, 66%, 0%, 7.8%)
CIE-LABlab(46.71, 53.21, -72.56)
CIE-LCHlch(46.71, 89.97, 306.25°)
OKLaboklab(56.36% 0.0738 -0.208)
OKLCHoklch(56.36% 0.221 289.5)
XYZxyz(25.7449, 15.7994, 80.2742)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950EB #C2EB50
analogous
#5075EB #7950EB #C750EB
triadic
#7950EB #EB7950 #50EB79
tetradic
#7950EB #EB5075 #C2EB50 #50EBC7
square
#7950EB #EB5075 #C2EB50 #50EBC7
split-complementary
#7950EB #EBC750 #75EB50
monochromatic
#3C14AD #4F1AE4 #7950EB #A387F1 #CDBEF8

Accessibility & contrast

On white

5.05
#7950EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7950EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950EB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950EB#FFFFFF#000000##FFFFFF
##7950EB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#527697
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7950eb;
/* rgb */ color: rgb(121, 80, 235);
/* oklch */ color: oklch(56.4% 0.221 289.5);
Tailwind
colors: {
  custom: {
    50: '#a984f2',
    500: '#7950eb',
    950: '#000000',
  },
}
SCSS
$custom: #7950eb;
$custom-light: #a984f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7950eb",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 255.871,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.22071,
    "h": 289.5
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#7950EB
secondary
#D9E8AF
accent
#DC0AA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7950EB

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

Preview Lab → · Contrast checker → · Palette generator →

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