#7950C2#7950C2

#7950C2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.171 H 296.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7950C2
RGBrgb(121, 80, 194)
HSLhsl(262, 48%, 54%)
HSVhsv(262, 59%, 76%)
CMYKcmyk(37.6%, 58.8%, 0%, 23.9%)
CIE-LABlab(43.80, 42.06, -53.83)
CIE-LCHlch(43.80, 68.31, 308.00°)
OKLaboklab(53.33% 0.0771 -0.1529)
OKLCHoklch(53.33% 0.171 296.8)
XYZxyz(20.4889, 13.6970, 52.5928)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950C2 #99C250
analogous
#5060C2 #7950C2 #B250C2
triadic
#7950C2 #C27950 #50C279
tetradic
#7950C2 #C25060 #99C250 #50C2B2
square
#7950C2 #C25060 #99C250 #50C2B2
split-complementary
#7950C2 #C2B250 #60C250
monochromatic
#422770 #5C379E #7950C2 #9C7DD2 #BEABE2

Accessibility & contrast

On white

5.62
#7950C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7950C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950C2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950C2#FFFFFF#000000##FFFFFF
##7950C21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A68C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#686881
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7950c2;
/* rgb */ color: rgb(121, 80, 194);
/* oklch */ color: oklch(53.3% 0.171 296.8);
Tailwind
colors: {
  custom: {
    50: '#a483d5',
    500: '#7950c2',
    950: '#000000',
  },
}
SCSS
$custom: #7950c2;
$custom-light: #a483d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7950c2",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 261.579,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.17127,
    "h": 296.8
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#7950C2
secondary
#BECF9F
accent
#D850A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7950C2

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

Preview Lab → · Contrast checker → · Palette generator →

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