#7950E8#7950E8

#7950E8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.217 H 290.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7950E8
RGBrgb(121, 80, 232)
HSLhsl(256, 77%, 61%)
HSVhsv(256, 66%, 91%)
CMYKcmyk(47.8%, 65.5%, 0%, 9%)
CIE-LABlab(46.48, 52.38, -71.23)
CIE-LCHlch(46.48, 88.42, 306.33°)
OKLaboklab(56.13% 0.0742 -0.2041)
OKLCHoklch(56.13% 0.217 290)
XYZxyz(25.3151, 15.6275, 78.0108)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950E8 #BFE850
analogous
#5073E8 #7950E8 #C550E8
triadic
#7950E8 #E87950 #50E879
tetradic
#7950E8 #E85073 #BFE850 #50E8C5
square
#7950E8 #E85073 #BFE850 #50E8C5
split-complementary
#7950E8 #E8C550 #73E850
monochromatic
#3D16A8 #511DDE #7950E8 #A286EF #CCBCF6

Accessibility & contrast

On white

5.09
#7950E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7950E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950E8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950E8#FFFFFF#000000##FFFFFF
##7950E81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#547595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7950e8;
/* rgb */ color: rgb(121, 80, 232);
/* oklch */ color: oklch(56.1% 0.217 290.0);
Tailwind
colors: {
  custom: {
    50: '#a884f0',
    500: '#7950e8',
    950: '#000000',
  },
}
SCSS
$custom: #7950e8;
$custom-light: #a884f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7950e8",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 256.184,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.21719,
    "h": 290
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#7950E8
secondary
#D7E6AD
accent
#D90DA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7950E8

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

Preview Lab → · Contrast checker → · Palette generator →

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