#7950D2#7950D2

#7950D2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.191 H 293.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7950D2
RGBrgb(121, 80, 210)
HSLhsl(259, 59%, 57%)
HSVhsv(259, 62%, 82%)
CMYKcmyk(42.4%, 61.9%, 0%, 17.6%)
CIE-LABlab(44.88, 46.36, -61.32)
CIE-LCHlch(44.88, 76.87, 307.09°)
OKLaboklab(54.46% 0.0764 -0.1749)
OKLCHoklch(54.46% 0.191 293.6)
XYZxyz(22.3835, 14.4548, 62.5710)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950D2 #A9D250
analogous
#5068D2 #7950D2 #BA50D2
triadic
#7950D2 #D27950 #50D279
tetradic
#7950D2 #D25068 #A9D250 #50D2BA
square
#7950D2 #D25068 #A9D250 #50D2BA
split-complementary
#7950D2 #D2BA50 #68D250
monochromatic
#422285 #592FB6 #7950D2 #9E81DF #C4B1EB

Accessibility & contrast

On white

5.40
#7950D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7950D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950D2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950D2#FFFFFF#000000##FFFFFF
##7950D21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#616E8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7950d2;
/* rgb */ color: rgb(121, 80, 210);
/* oklch */ color: oklch(54.5% 0.191 293.6);
Tailwind
colors: {
  custom: {
    50: '#a683e1',
    500: '#7950d2',
    950: '#000000',
  },
}
SCSS
$custom: #7950d2;
$custom-light: #a683e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7950d2",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 258.923,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.1909,
    "h": 293.6
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#7950D2
secondary
#C9D9A4
accent
#E246B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7950D2

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

Preview Lab → · Contrast checker → · Palette generator →

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