#7939CA#7939CA

#7939CA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.210 H 298.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7939CA
RGBrgb(121, 57, 202)
HSLhsl(266, 58%, 51%)
HSVhsv(266, 72%, 79%)
CMYKcmyk(40.1%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.01, 56.02, -64.61)
CIE-LCHlch(40.01, 85.51, 310.93°)
OKLaboklab(50.78% 0.1012 -0.1846)
OKLCHoklch(50.78% 0.21 298.7)
XYZxyz(20.0062, 11.2552, 56.9841)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939CA #8ACA39
analogous
#3941CA #7939CA #C239CA
triadic
#7939CA #CA7939 #39CA79
tetradic
#7939CA #CA3941 #8ACA39 #39CAC2
square
#7939CA #CA3941 #8ACA39 #39CAC2
split-complementary
#7939CA #CAC239 #41CA39
monochromatic
#401D6C #5C2A9C #7939CA #9A69D7 #BA9AE4

Accessibility & contrast

On white

6.46
#7939CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7939CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939CA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939CA#FFFFFF#000000##FFFFFF
##7939CA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#655D7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7939ca;
/* rgb */ color: rgb(121, 57, 202);
/* oklch */ color: oklch(50.8% 0.210 298.7);
Tailwind
colors: {
  custom: {
    50: '#a675db',
    500: '#7939ca',
    950: '#000000',
  },
}
SCSS
$custom: #7939ca;
$custom-light: #a675db;
$custom-dark: #000000;
JSON
{
  "hex": "#7939ca",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 266.483,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.21047,
    "h": 298.7
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#7939CA
secondary
#B3D08F
accent
#E1479D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7939CA

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

Preview Lab → · Contrast checker → · Palette generator →

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