#7950ED#7950ED

#7950ED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.223 H 289.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7950ED
RGBrgb(121, 80, 237)
HSLhsl(256, 81%, 62%)
HSVhsv(256, 66%, 93%)
CMYKcmyk(48.9%, 66.2%, 0%, 7.1%)
CIE-LABlab(46.86, 53.76, -73.43)
CIE-LCHlch(46.86, 91.01, 306.21°)
OKLaboklab(56.52% 0.0736 -0.2106)
OKLCHoklch(56.52% 0.223 289.3)
XYZxyz(26.0355, 15.9156, 81.8045)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950ED #C4ED50
analogous
#5076ED #7950ED #C850ED
triadic
#7950ED #ED7950 #50ED79
tetradic
#7950ED #ED5076 #C4ED50 #50EDC8
square
#7950ED #ED5076 #C4ED50 #50EDC8
split-complementary
#7950ED #EDC850 #76ED50
monochromatic
#3B12B0 #4F19E7 #7950ED #A387F3 #CEBFF8

Accessibility & contrast

On white

5.02
#7950ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7950ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950ED
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950ED#FFFFFF#000000##FFFFFF
##7950ED1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#517798
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7950ed;
/* rgb */ color: rgb(121, 80, 237);
/* oklch */ color: oklch(56.5% 0.223 289.3);
Tailwind
colors: {
  custom: {
    50: '#a984f4',
    500: '#7950ed',
    950: '#000000',
  },
}
SCSS
$custom: #7950ed;
$custom-light: #a984f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7950ed",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 237
  },
  "hsl": {
    "h": 255.669,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.22305,
    "h": 289.3
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#7950ED
secondary
#DAE9B0
accent
#DE08A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7950ED

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

Preview Lab → · Contrast checker → · Palette generator →

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