#7950CC#7950CC

#7950CC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.184 H 294.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7950CC
RGBrgb(121, 80, 204)
HSLhsl(260, 55%, 56%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(40.7%, 60.8%, 0%, 20%)
CIE-LABlab(44.46, 44.74, -58.54)
CIE-LCHlch(44.46, 73.68, 307.39°)
OKLaboklab(54.03% 0.0768 -0.1668)
OKLCHoklch(54.03% 0.184 294.7)
XYZxyz(21.6500, 14.1614, 58.7078)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950CC #A3CC50
analogous
#5065CC #7950CC #B750CC
triadic
#7950CC #CC7950 #50CC79
tetradic
#7950CC #CC5065 #A3CC50 #50CCB7
square
#7950CC #CC5065 #A3CC50 #50CCB7
split-complementary
#7950CC #CCB750 #65CC50
monochromatic
#42247D #5B32AD #7950CC #9D7FDA #C2AFE8

Accessibility & contrast

On white

5.48
#7950CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7950CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950CC#FFFFFF#000000##FFFFFF
##7950CC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0567C9
Tritanopia (blue-blind)
#636C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7950cc;
/* rgb */ color: rgb(121, 80, 204);
/* oklch */ color: oklch(54.0% 0.184 294.7);
Tailwind
colors: {
  custom: {
    50: '#a583dc',
    500: '#7950cc',
    950: '#000000',
  },
}
SCSS
$custom: #7950cc;
$custom-light: #a583dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7950cc",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 259.839,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.18359,
    "h": 294.7
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#7950CC
secondary
#C5D6A2
accent
#DE4AAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7950CC

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

Preview Lab → · Contrast checker → · Palette generator →

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