#7950BF#7950BF

#7950BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.168 H 297.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7950BF
RGBrgb(121, 80, 191)
HSLhsl(262, 46%, 53%)
HSVhsv(262, 58%, 75%)
CMYKcmyk(36.6%, 58.1%, 0%, 25.1%)
CIE-LABlab(43.60, 41.26, -52.40)
CIE-LCHlch(43.60, 66.69, 308.22°)
OKLaboklab(53.12% 0.0772 -0.1487)
OKLCHoklch(53.12% 0.168 297.4)
XYZxyz(20.1554, 13.5636, 50.8362)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950BF #96BF50
analogous
#505EBF #7950BF #B050BF
triadic
#7950BF #BF7950 #50BF79
tetradic
#7950BF #BF505E #96BF50 #50BFB0
square
#7950BF #BF505E #96BF50 #50BFB0
split-complementary
#7950BF #BFB050 #5EBF50
monochromatic
#41286D #5C389A #7950BF #9B7DCF #BEAAE0

Accessibility & contrast

On white

5.66
#7950BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7950BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950BF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950BF#FFFFFF#000000##FFFFFF
##7950BF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C3
Deuteranopia (green-blind)
#2766BD
Tritanopia (blue-blind)
#696780
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7950bf;
/* rgb */ color: rgb(121, 80, 191);
/* oklch */ color: oklch(53.1% 0.168 297.4);
Tailwind
colors: {
  custom: {
    50: '#a483d3',
    500: '#7950bf',
    950: '#000000',
  },
}
SCSS
$custom: #7950bf;
$custom-light: #a483d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7950bf",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 262.162,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.16754,
    "h": 297.4
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#7950BF
secondary
#BCCD9D
accent
#D652A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7950BF

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

Preview Lab → · Contrast checker → · Palette generator →

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