#7950CF#7950CF

#7950CF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.187 H 294.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7950CF
RGBrgb(121, 80, 207)
HSLhsl(259, 57%, 56%)
HSVhsv(259, 61%, 81%)
CMYKcmyk(41.5%, 61.4%, 0%, 18.8%)
CIE-LABlab(44.67, 45.55, -59.93)
CIE-LCHlch(44.67, 75.28, 307.24°)
OKLaboklab(54.25% 0.0766 -0.1709)
OKLCHoklch(54.25% 0.187 294.1)
XYZxyz(22.0133, 14.3067, 60.6210)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950CF #A6CF50
analogous
#5067CF #7950CF #B950CF
triadic
#7950CF #CF7950 #50CF79
tetradic
#7950CF #CF5067 #A6CF50 #50CFB9
square
#7950CF #CF5067 #A6CF50 #50CFB9
split-complementary
#7950CF #CFB950 #67CF50
monochromatic
#422381 #5A31B1 #7950CF #9E80DC #C3B0E9

Accessibility & contrast

On white

5.44
#7950CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7950CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950CF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950CF#FFFFFF#000000##FFFFFF
##7950CF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#626D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7950cf;
/* rgb */ color: rgb(121, 80, 207);
/* oklch */ color: oklch(54.2% 0.187 294.1);
Tailwind
colors: {
  custom: {
    50: '#a583de',
    500: '#7950cf',
    950: '#000000',
  },
}
SCSS
$custom: #7950cf;
$custom-light: #a583de;
$custom-dark: #000000;
JSON
{
  "hex": "#7950cf",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 259.37,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.18725,
    "h": 294.1
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#7950CF
secondary
#C7D8A3
accent
#E048AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7950CF

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

Preview Lab → · Contrast checker → · Palette generator →

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