#7950D4#7950D4

#7950D4 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.193 H 293.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7950D4
RGBrgb(121, 80, 212)
HSLhsl(259, 61%, 57%)
HSVhsv(259, 62%, 83%)
CMYKcmyk(42.9%, 62.3%, 0%, 16.9%)
CIE-LABlab(45.02, 46.91, -62.23)
CIE-LCHlch(45.02, 77.93, 307.01°)
OKLaboklab(54.61% 0.0763 -0.1776)
OKLCHoklch(54.61% 0.193 293.2)
XYZxyz(22.6343, 14.5551, 63.8915)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950D4 #ABD450
analogous
#5069D4 #7950D4 #BB50D4
triadic
#7950D4 #D47950 #50D479
tetradic
#7950D4 #D45069 #ABD450 #50D4BB
square
#7950D4 #D45069 #ABD450 #50D4BB
split-complementary
#7950D4 #D4BB50 #69D450
monochromatic
#412188 #592EB9 #7950D4 #9F81E0 #C4B2EC

Accessibility & contrast

On white

5.37
#7950D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7950D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950D4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950D4#FFFFFF#000000##FFFFFF
##7950D41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#606E8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7950d4;
/* rgb */ color: rgb(121, 80, 212);
/* oklch */ color: oklch(54.6% 0.193 293.2);
Tailwind
colors: {
  custom: {
    50: '#a683e2',
    500: '#7950d4',
    950: '#000000',
  },
}
SCSS
$custom: #7950d4;
$custom-light: #a683e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7950d4",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 258.636,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.19333,
    "h": 293.2
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#7950D4
secondary
#CADBA5
accent
#E444B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7950D4

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

Preview Lab → · Contrast checker → · Palette generator →

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