#7950DB#7950DB

#7950DB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.202 H 292.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7950DB
RGBrgb(121, 80, 219)
HSLhsl(258, 66%, 59%)
HSVhsv(258, 63%, 86%)
CMYKcmyk(44.7%, 63.5%, 0%, 14.1%)
CIE-LABlab(45.52, 48.81, -65.42)
CIE-LCHlch(45.52, 81.63, 306.73°)
OKLaboklab(55.13% 0.0757 -0.187)
OKLCHoklch(55.13% 0.202 292)
XYZxyz(23.5365, 14.9160, 68.6431)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950DB #B2DB50
analogous
#506CDB #7950DB #BE50DB
triadic
#7950DB #DB7950 #50DB79
tetradic
#7950DB #DB506C #B2DB50 #50DBBE
square
#7950DB #DB506C #B2DB50 #50DBBE
split-complementary
#7950DB #DBBE50 #6CDB50
monochromatic
#401E92 #5729C5 #7950DB #A083E5 #C7B6F0

Accessibility & contrast

On white

5.27
#7950DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7950DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950DB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950DB#FFFFFF#000000##FFFFFF
##7950DB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#5C718E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7950db;
/* rgb */ color: rgb(121, 80, 219);
/* oklch */ color: oklch(55.1% 0.202 292.0);
Tailwind
colors: {
  custom: {
    50: '#a783e7',
    500: '#7950db',
    950: '#000000',
  },
}
SCSS
$custom: #7950db;
$custom-light: #a783e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7950db",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 257.698,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.20175,
    "h": 292
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7950DB

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

Preview Lab → · Contrast checker → · Palette generator →

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