#7950DC#7950DC

#7950DC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.203 H 291.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7950DC
RGBrgb(121, 80, 220)
HSLhsl(258, 67%, 59%)
HSVhsv(258, 64%, 86%)
CMYKcmyk(45%, 63.6%, 0%, 13.7%)
CIE-LABlab(45.59, 49.09, -65.88)
CIE-LCHlch(45.59, 82.15, 306.69°)
OKLaboklab(55.21% 0.0756 -0.1884)
OKLCHoklch(55.21% 0.203 291.9)
XYZxyz(23.6685, 14.9688, 69.3385)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950DC #B3DC50
analogous
#506DDC #7950DC #BF50DC
triadic
#7950DC #DC7950 #50DC79
tetradic
#7950DC #DC506D #B3DC50 #50DCBF
square
#7950DC #DC506D #B3DC50 #50DCBF
split-complementary
#7950DC #DCBF50 #6DDC50
monochromatic
#401E94 #5628C7 #7950DC #A083E6 #C7B6F0

Accessibility & contrast

On white

5.26
#7950DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7950DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950DC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950DC#FFFFFF#000000##FFFFFF
##7950DC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#5C718F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7950dc;
/* rgb */ color: rgb(121, 80, 220);
/* oklch */ color: oklch(55.2% 0.203 291.9);
Tailwind
colors: {
  custom: {
    50: '#a783e8',
    500: '#7950dc',
    950: '#000000',
  },
}
SCSS
$custom: #7950dc;
$custom-light: #a783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7950dc",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 257.571,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55206,
    "c": 0.20295,
    "h": 291.9
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#7950DC
secondary
#CFDFA8
accent
#EA3EB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7950DC

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

Preview Lab → · Contrast checker → · Palette generator →

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