#7950DD#7950DD

#7950DD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.204 H 291.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7950DD
RGBrgb(121, 80, 221)
HSLhsl(257, 67%, 59%)
HSVhsv(257, 64%, 87%)
CMYKcmyk(45.2%, 63.8%, 0%, 13.3%)
CIE-LABlab(45.66, 49.36, -66.33)
CIE-LCHlch(45.66, 82.68, 306.66°)
OKLaboklab(55.28% 0.0755 -0.1897)
OKLCHoklch(55.28% 0.204 291.7)
XYZxyz(23.8013, 15.0219, 70.0380)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950DD #B4DD50
analogous
#506EDD #7950DD #C050DD
triadic
#7950DD #DD7950 #50DD79
tetradic
#7950DD #DD506E #B4DD50 #50DDC0
square
#7950DD #DD506E #B4DD50 #50DDC0
split-complementary
#7950DD #DDC050 #6EDD50
monochromatic
#401D96 #5627C9 #7950DD #A083E7 #C7B6F1

Accessibility & contrast

On white

5.24
#7950DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7950DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950DD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950DD#FFFFFF#000000##FFFFFF
##7950DD1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#5B718F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7950dd;
/* rgb */ color: rgb(121, 80, 221);
/* oklch */ color: oklch(55.3% 0.204 291.7);
Tailwind
colors: {
  custom: {
    50: '#a783e8',
    500: '#7950dd',
    950: '#000000',
  },
}
SCSS
$custom: #7950dd;
$custom-light: #a783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7950dd",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 257.447,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.20415,
    "h": 291.7
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#7950DD
secondary
#D0E0A9
accent
#EA3DB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7950DD

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

Preview Lab → · Contrast checker → · Palette generator →

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