#7950AE#7950AE

#7950AE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.0% C 0.146 H 301.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7950AE
RGBrgb(121, 80, 174)
HSLhsl(266, 37%, 50%)
HSVhsv(266, 54%, 68%)
CMYKcmyk(30.5%, 54%, 0%, 31.8%)
CIE-LABlab(42.55, 36.84, -44.12)
CIE-LCHlch(42.55, 57.48, 309.86°)
OKLaboklab(52.01% 0.0768 -0.1244)
OKLCHoklch(52.01% 0.146 301.7)
XYZxyz(18.3920, 12.8582, 41.5491)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950AE #85AE50
analogous
#5056AE #7950AE #A850AE
triadic
#7950AE #AE7950 #50AE79
tetradic
#7950AE #AE5056 #85AE50 #50AEA8
square
#7950AE #AE5056 #85AE50 #50AEA8
split-complementary
#7950AE #AEA850 #56AE50
monochromatic
#3F295A #5C3D84 #7950AE #997AC2 #B9A3D5

Accessibility & contrast

On white

5.88
#7950AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7950AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950AE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950AE#FFFFFF#000000##FFFFFF
##7950AE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#6F6277
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7950ae;
/* rgb */ color: rgb(121, 80, 174);
/* oklch */ color: oklch(52.0% 0.146 301.7);
Tailwind
colors: {
  custom: {
    50: '#a382c7',
    500: '#7950ae',
    950: '#000000',
  },
}
SCSS
$custom: #7950ae;
$custom-light: #a382c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7950ae",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 266.17,
    "s": 37.008,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.1462,
    "h": 301.7
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#7950AE
secondary
#B0C298
accent
#CD5B9B
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7950AE

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

Preview Lab → · Contrast checker → · Palette generator →

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