#7950CB#7950CB

#7950CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.182 H 294.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7950CB
RGBrgb(121, 80, 203)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(40.4%, 60.6%, 0%, 20.4%)
CIE-LABlab(44.40, 44.47, -58.07)
CIE-LCHlch(44.40, 73.14, 307.45°)
OKLaboklab(53.96% 0.0768 -0.1654)
OKLCHoklch(53.96% 0.182 294.9)
XYZxyz(21.5305, 14.1136, 58.0782)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950CB #A2CB50
analogous
#5064CB #7950CB #B650CB
triadic
#7950CB #CB7950 #50CB79
tetradic
#7950CB #CB5064 #A2CB50 #50CBB6
square
#7950CB #CB5064 #A2CB50 #50CBB6
split-complementary
#7950CB #CBB650 #64CB50
monochromatic
#42257C #5B33AB #7950CB #9D7FD9 #C1AEE7

Accessibility & contrast

On white

5.49
#7950CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7950CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950CB#FFFFFF#000000##FFFFFF
##7950CB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0A67C8
Tritanopia (blue-blind)
#646B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7950cb;
/* rgb */ color: rgb(121, 80, 203);
/* oklch */ color: oklch(54.0% 0.182 294.9);
Tailwind
colors: {
  custom: {
    50: '#a583dc',
    500: '#7950cb',
    950: '#000000',
  },
}
SCSS
$custom: #7950cb;
$custom-light: #a583dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7950cb",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 260,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53959,
    "c": 0.18236,
    "h": 294.9
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#7950CB
secondary
#C4D5A2
accent
#DE4AAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7950CB

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

Preview Lab → · Contrast checker → · Palette generator →

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