#7950BD#7950BD

#7950BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.165 H 297.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7950BD
RGBrgb(121, 80, 189)
HSLhsl(263, 45%, 53%)
HSVhsv(263, 58%, 74%)
CMYKcmyk(36%, 57.7%, 0%, 25.9%)
CIE-LABlab(43.47, 40.74, -51.44)
CIE-LCHlch(43.47, 65.61, 308.38°)
OKLaboklab(52.99% 0.0772 -0.1459)
OKLCHoklch(52.99% 0.165 297.9)
XYZxyz(19.9368, 13.4761, 49.6850)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950BD #94BD50
analogous
#505DBD #7950BD #AF50BD
triadic
#7950BD #BD7950 #50BD79
tetradic
#7950BD #BD505D #94BD50 #50BDAF
square
#7950BD #BD505D #94BD50 #50BDAF
split-complementary
#7950BD #BDAF50 #5DBD50
monochromatic
#41286A #5C3997 #7950BD #9B7CCE #BDA9DF

Accessibility & contrast

On white

5.68
#7950BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7950BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950BD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950BD#FFFFFF#000000##FFFFFF
##7950BD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#6A677F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7950bd;
/* rgb */ color: rgb(121, 80, 189);
/* oklch */ color: oklch(53.0% 0.165 297.9);
Tailwind
colors: {
  custom: {
    50: '#a483d1',
    500: '#7950bd',
    950: '#000000',
  },
}
SCSS
$custom: #7950bd;
$custom-light: #a483d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7950bd",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 262.569,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.16506,
    "h": 297.9
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#7950BD
secondary
#BACC9D
accent
#D553A4
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7950BD

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

Preview Lab → · Contrast checker → · Palette generator →

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