#7950D8#7950D8

#7950D8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.198 H 292.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7950D8
RGBrgb(121, 80, 216)
HSLhsl(258, 64%, 58%)
HSVhsv(258, 63%, 85%)
CMYKcmyk(44%, 63%, 0%, 15.3%)
CIE-LABlab(45.30, 48.00, -64.06)
CIE-LCHlch(45.30, 80.05, 306.84°)
OKLaboklab(54.91% 0.0759 -0.183)
OKLCHoklch(54.91% 0.198 292.5)
XYZxyz(23.1451, 14.7594, 66.5818)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950D8 #AFD850
analogous
#506BD8 #7950D8 #BD50D8
triadic
#7950D8 #D87950 #50D879
tetradic
#7950D8 #D8506B #AFD850 #50D8BD
square
#7950D8 #D8506B #AFD850 #50D8BD
split-complementary
#7950D8 #D8BD50 #6BD850
monochromatic
#41208E #582BC0 #7950D8 #9F82E3 #C6B4EE

Accessibility & contrast

On white

5.31
#7950D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7950D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950D8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950D8#FFFFFF#000000##FFFFFF
##7950D81.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#5E708D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7950d8;
/* rgb */ color: rgb(121, 80, 216);
/* oklch */ color: oklch(54.9% 0.198 292.5);
Tailwind
colors: {
  custom: {
    50: '#a683e5',
    500: '#7950d8',
    950: '#000000',
  },
}
SCSS
$custom: #7950d8;
$custom-light: #a683e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7950d8",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 258.088,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.19815,
    "h": 292.5
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#7950D8
secondary
#CDDDA7
accent
#E741B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7950D8

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

Preview Lab → · Contrast checker → · Palette generator →

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