#7950D3#7950D3

#7950D3 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.192 H 293.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7950D3
RGBrgb(121, 80, 211)
HSLhsl(259, 60%, 57%)
HSVhsv(259, 62%, 83%)
CMYKcmyk(42.7%, 62.1%, 0%, 17.3%)
CIE-LABlab(44.95, 46.63, -61.78)
CIE-LCHlch(44.95, 77.40, 307.05°)
OKLaboklab(54.54% 0.0763 -0.1763)
OKLCHoklch(54.54% 0.192 293.4)
XYZxyz(22.5085, 14.5048, 63.2292)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950D3 #AAD350
analogous
#5069D3 #7950D3 #BB50D3
triadic
#7950D3 #D37950 #50D379
tetradic
#7950D3 #D35069 #AAD350 #50D3BB
square
#7950D3 #D35069 #AAD350 #50D3BB
split-complementary
#7950D3 #D3BB50 #69D350
monochromatic
#412287 #592EB8 #7950D3 #9E81DF #C4B2EC

Accessibility & contrast

On white

5.38
#7950D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7950D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950D3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950D3#FFFFFF#000000##FFFFFF
##7950D31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#606E8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7950d3;
/* rgb */ color: rgb(121, 80, 211);
/* oklch */ color: oklch(54.5% 0.192 293.4);
Tailwind
colors: {
  custom: {
    50: '#a683e1',
    500: '#7950d3',
    950: '#000000',
  },
}
SCSS
$custom: #7950d3;
$custom-light: #a683e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7950d3",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 258.779,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.19211,
    "h": 293.4
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#7950D3
secondary
#C9DAA5
accent
#E345B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7950D3

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

Preview Lab → · Contrast checker → · Palette generator →

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