#7950BC#7950BC

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

Color values

HEX#7950BC
RGBrgb(121, 80, 188)
HSLhsl(263, 45%, 53%)
HSVhsv(263, 57%, 74%)
CMYKcmyk(35.6%, 57.4%, 0%, 26.3%)
CIE-LABlab(43.41, 40.47, -50.96)
CIE-LCHlch(43.41, 65.07, 308.46°)
OKLaboklab(52.92% 0.0772 -0.1445)
OKLCHoklch(52.92% 0.164 298.1)
XYZxyz(19.8287, 13.4329, 49.1153)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950BC #93BC50
analogous
#505DBC #7950BC #AF50BC
triadic
#7950BC #BC7950 #50BC79
tetradic
#7950BC #BC505D #93BC50 #50BCAF
square
#7950BC #BC505D #93BC50 #50BCAF
split-complementary
#7950BC #BCAF50 #5DBC50
monochromatic
#412869 #5C3996 #7950BC #9B7CCD #BDA9DE

Accessibility & contrast

On white

5.70
#7950BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7950BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950BC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950BC#FFFFFF#000000##FFFFFF
##7950BC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#2B65BA
Tritanopia (blue-blind)
#6A667E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7950bc;
/* rgb */ color: rgb(121, 80, 188);
/* oklch */ color: oklch(52.9% 0.164 298.1);
Tailwind
colors: {
  custom: {
    50: '#a483d1',
    500: '#7950bc',
    950: '#000000',
  },
}
SCSS
$custom: #7950bc;
$custom-light: #a483d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7950bc",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 262.778,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.1638,
    "h": 298.1
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#7950BC
secondary
#BACB9C
accent
#D453A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7950BC

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

Preview Lab → · Contrast checker → · Palette generator →

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