#7950CA#7950CA

#7950CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.181 H 295.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7950CA
RGBrgb(121, 80, 202)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 60%, 79%)
CMYKcmyk(40.1%, 60.4%, 0%, 20.8%)
CIE-LABlab(44.33, 44.20, -57.60)
CIE-LCHlch(44.33, 72.61, 307.50°)
OKLaboklab(53.89% 0.0769 -0.164)
OKLCHoklch(53.89% 0.181 295.1)
XYZxyz(21.4117, 14.0661, 57.4526)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7950CA #A1CA50
analogous
#5064CA #7950CA #B650CA
triadic
#7950CA #CA7950 #50CA79
tetradic
#7950CA #CA5064 #A1CA50 #50CAB6
square
#7950CA #CA5064 #A1CA50 #50CAB6
split-complementary
#7950CA #CAB650 #64CA50
monochromatic
#42257A #5B33A9 #7950CA #9D7FD8 #C1AEE6

Accessibility & contrast

On white

5.51
#7950CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7950CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7950CA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7950CA#FFFFFF#000000##FFFFFF
##7950CA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#646B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7950ca;
/* rgb */ color: rgb(121, 80, 202);
/* oklch */ color: oklch(53.9% 0.181 295.1);
Tailwind
colors: {
  custom: {
    50: '#a583db',
    500: '#7950ca',
    950: '#000000',
  },
}
SCSS
$custom: #7950ca;
$custom-light: #a583db;
$custom-dark: #000000;
JSON
{
  "hex": "#7950ca",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 260.164,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.18114,
    "h": 295.1
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#7950CA
secondary
#C3D4A1
accent
#DD4BAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7950CA

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

Preview Lab → · Contrast checker → · Palette generator →

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