#7950CD#7950CD

#7950CD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.185 H 294.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7950CD
RGBrgb(121, 80, 205)
HSLhsl(260, 56%, 56%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(41%, 61%, 0%, 19.6%)
CIE-LABlab(44.53, 45.01, -59.00)
CIE-LCHlch(44.53, 74.21, 307.34°)
OKLaboklab(54.1% 0.0767 -0.1681)
OKLCHoklch(54.1% 0.185 294.5)
XYZxyz(21.7703, 14.2095, 59.3415)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950CD #A4CD50
analogous
#5065CD #7950CD #B750CD
triadic
#7950CD #CD7950 #50CD79
tetradic
#7950CD #CD5065 #A4CD50 #50CDB7
square
#7950CD #CD5065 #A4CD50 #50CDB7
split-complementary
#7950CD #CDB750 #65CD50
monochromatic
#42247E #5B32AE #7950CD #9D80DB #C2AFE8

Accessibility & contrast

On white

5.47
#7950CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7950CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950CD#FFFFFF#000000##FFFFFF
##7950CD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#636C87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7950cd;
/* rgb */ color: rgb(121, 80, 205);
/* oklch */ color: oklch(54.1% 0.185 294.5);
Tailwind
colors: {
  custom: {
    50: '#a583dd',
    500: '#7950cd',
    950: '#000000',
  },
}
SCSS
$custom: #7950cd;
$custom-light: #a583dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7950cd",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 259.68,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.18481,
    "h": 294.5
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7950CD

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

Preview Lab → · Contrast checker → · Palette generator →

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