#7950D9#7950D9

#7950D9 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.199 H 292.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7950D9
RGBrgb(121, 80, 217)
HSLhsl(258, 64%, 58%)
HSVhsv(258, 63%, 85%)
CMYKcmyk(44.2%, 63.1%, 0%, 14.9%)
CIE-LABlab(45.37, 48.27, -64.52)
CIE-LCHlch(45.37, 80.57, 306.80°)
OKLaboklab(54.98% 0.0759 -0.1844)
OKLCHoklch(54.98% 0.199 292.4)
XYZxyz(23.2748, 14.8113, 67.2647)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950D9 #B0D950
analogous
#506BD9 #7950D9 #BD50D9
triadic
#7950D9 #D97950 #50D979
tetradic
#7950D9 #D9506B #B0D950 #50D9BD
square
#7950D9 #D9506B #B0D950 #50D9BD
split-complementary
#7950D9 #D9BD50 #6BD950
monochromatic
#411F8F #572AC2 #7950D9 #A082E4 #C6B5EF

Accessibility & contrast

On white

5.30
#7950D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7950D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950D9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950D9#FFFFFF#000000##FFFFFF
##7950D91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#5D708D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7950d9;
/* rgb */ color: rgb(121, 80, 217);
/* oklch */ color: oklch(55.0% 0.199 292.4);
Tailwind
colors: {
  custom: {
    50: '#a783e6',
    500: '#7950d9',
    950: '#000000',
  },
}
SCSS
$custom: #7950d9;
$custom-light: #a783e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7950d9",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 257.956,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.19935,
    "h": 292.4
  },
  "luminance": 0.14812
}

Semantic roles & 50–950 ramp

primary
#7950D9
secondary
#CDDEA7
accent
#E740B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7950D9

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

Preview Lab → · Contrast checker → · Palette generator →

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