#7950BB#7950BB

#7950BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.163 H 298.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7950BB
RGBrgb(121, 80, 187)
HSLhsl(263, 44%, 52%)
HSVhsv(263, 57%, 73%)
CMYKcmyk(35.3%, 57.2%, 0%, 26.7%)
CIE-LABlab(43.34, 40.21, -50.47)
CIE-LCHlch(43.34, 64.53, 308.54°)
OKLaboklab(52.86% 0.0772 -0.1431)
OKLCHoklch(52.86% 0.163 298.3)
XYZxyz(19.7212, 13.3899, 48.5496)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950BB #92BB50
analogous
#505CBB #7950BB #AF50BB
triadic
#7950BB #BB7950 #50BB79
tetradic
#7950BB #BB505C #92BB50 #50BBAF
square
#7950BB #BB505C #92BB50 #50BBAF
split-complementary
#7950BB #BBAF50 #5CBB50
monochromatic
#412868 #5C3A94 #7950BB #9B7CCC #BCA8DD

Accessibility & contrast

On white

5.71
#7950BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7950BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950BB#FFFFFF#000000##FFFFFF
##7950BB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#2D65B9
Tritanopia (blue-blind)
#6A667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7950bb;
/* rgb */ color: rgb(121, 80, 187);
/* oklch */ color: oklch(52.9% 0.163 298.3);
Tailwind
colors: {
  custom: {
    50: '#a483d0',
    500: '#7950bb',
    950: '#000000',
  },
}
SCSS
$custom: #7950bb;
$custom-light: #a483d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7950bb",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 262.991,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.16255,
    "h": 298.3
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#7950BB
secondary
#B9CB9C
accent
#D454A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7950BB

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

Preview Lab → · Contrast checker → · Palette generator →

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