#7937DA#7937DA

#7937DA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.230 H 295.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7937DA
RGBrgb(121, 55, 218)
HSLhsl(264, 69%, 54%)
HSVhsv(264, 75%, 85%)
CMYKcmyk(44.5%, 74.8%, 0%, 14.5%)
CIE-LABlab(40.99, 60.89, -72.23)
CIE-LCHlch(40.99, 94.48, 310.13°)
OKLaboklab(51.88% 0.0993 -0.2069)
OKLCHoklch(51.88% 0.23 295.6)
XYZxyz(21.9028, 11.8587, 67.4510)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937DA #98DA37
analogous
#3747DA #7937DA #CA37DA
triadic
#7937DA #DA7937 #37DA79
tetradic
#7937DA #DA3747 #98DA37 #37DACA
square
#7937DA #DA3747 #98DA37 #37DACA
split-complementary
#7937DA #DACA37 #47DA37
monochromatic
#41187F #5C21B3 #7937DA #9C6BE4 #BE9EED

Accessibility & contrast

On white

6.23
#7937DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7937DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937DA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937DA#FFFFFF#000000##FFFFFF
##7937DA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#5E6387
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7937da;
/* rgb */ color: rgb(121, 55, 218);
/* oklch */ color: oklch(51.9% 0.230 295.6);
Tailwind
colors: {
  custom: {
    50: '#a875e7',
    500: '#7937da',
    950: '#000000',
  },
}
SCSS
$custom: #7937da;
$custom-light: #a875e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7937da",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 264.294,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.22954,
    "h": 295.6
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#7937DA
secondary
#BDD993
accent
#EC3CA5
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7937DA

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

Preview Lab → · Contrast checker → · Palette generator →

#7937DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva