#7950AF#7950AF

#7950AF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.147 H 301.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7950AF
RGBrgb(121, 80, 175)
HSLhsl(266, 37%, 50%)
HSVhsv(266, 54%, 69%)
CMYKcmyk(30.9%, 54.3%, 0%, 31.4%)
CIE-LABlab(42.61, 37.09, -44.61)
CIE-LCHlch(42.61, 58.02, 309.74°)
OKLaboklab(52.08% 0.0768 -0.1259)
OKLCHoklch(52.08% 0.147 301.4)
XYZxyz(18.4899, 12.8974, 42.0645)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950AF #86AF50
analogous
#5056AF #7950AF #A950AF
triadic
#7950AF #AF7950 #50AF79
tetradic
#7950AF #AF5056 #86AF50 #50AFA9
square
#7950AF #AF5056 #86AF50 #50AFA9
split-complementary
#7950AF #AFA950 #56AF50
monochromatic
#3F2A5B #5C3D85 #7950AF #997AC2 #B9A4D5

Accessibility & contrast

On white

5.87
#7950AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7950AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950AF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950AF#FFFFFF#000000##FFFFFF
##7950AF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#6E6278
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7950af;
/* rgb */ color: rgb(121, 80, 175);
/* oklch */ color: oklch(52.1% 0.147 301.4);
Tailwind
colors: {
  custom: {
    50: '#a382c7',
    500: '#7950af',
    950: '#000000',
  },
}
SCSS
$custom: #7950af;
$custom-light: #a382c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7950af",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 265.895,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.14747,
    "h": 301.4
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#7950AF
secondary
#B0C398
accent
#CD5B9C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7950AF

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

Preview Lab → · Contrast checker → · Palette generator →

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