#7937D8#7937D8

#7937D8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.227 H 296.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7937D8
RGBrgb(121, 55, 216)
HSLhsl(265, 67%, 53%)
HSVhsv(265, 75%, 85%)
CMYKcmyk(44%, 74.5%, 0%, 15.3%)
CIE-LABlab(40.82, 60.39, -71.36)
CIE-LCHlch(40.82, 93.49, 310.24°)
OKLaboklab(51.71% 0.0998 -0.2044)
OKLCHoklch(51.71% 0.227 296)
XYZxyz(21.6427, 11.7547, 66.0810)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937D8 #96D837
analogous
#3745D8 #7937D8 #C937D8
triadic
#7937D8 #D87937 #37D879
tetradic
#7937D8 #D83745 #96D837 #37D8C9
square
#7937D8 #D83745 #96D837 #37D8C9
split-complementary
#7937D8 #D8C937 #45D837
monochromatic
#41187C #5C22B0 #7937D8 #9B6AE2 #BE9DEC

Accessibility & contrast

On white

6.27
#7937D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7937D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937D8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937D8#FFFFFF#000000##FFFFFF
##7937D81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#5F6285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7937d8;
/* rgb */ color: rgb(121, 55, 216);
/* oklch */ color: oklch(51.7% 0.227 296.0);
Tailwind
colors: {
  custom: {
    50: '#a874e5',
    500: '#7937d8',
    950: '#000000',
  },
}
SCSS
$custom: #7937d8;
$custom-light: #a874e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7937d8",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 216
  },
  "hsl": {
    "h": 264.596,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.22744,
    "h": 296
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#7937D8
secondary
#BCD893
accent
#EA3EA3
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7937D8

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

Preview Lab → · Contrast checker → · Palette generator →

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