#7936CB#7936CB

#7936CB is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.215 H 298.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7936CB
RGBrgb(121, 54, 203)
HSLhsl(267, 59%, 50%)
HSVhsv(267, 73%, 80%)
CMYKcmyk(40.4%, 73.4%, 0%, 20.4%)
CIE-LABlab(39.61, 57.62, -65.85)
CIE-LCHlch(39.61, 87.50, 311.19°)
OKLaboklab(50.52% 0.1037 -0.1882)
OKLCHoklch(50.52% 0.215 298.9)
XYZxyz(19.9811, 11.0148, 57.5617)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936CB #88CB36
analogous
#363DCB #7936CB #C336CB
triadic
#7936CB #CB7936 #36CB79
tetradic
#7936CB #CB363D #88CB36 #36CBC3
square
#7936CB #CB363D #88CB36 #36CBC3
split-complementary
#7936CB #CBC336 #3DCB36
monochromatic
#3F1C6B #5C289C #7936CB #9967D8 #BA97E4

Accessibility & contrast

On white

6.56
#7936CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7936CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936CB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936CB#FFFFFF#000000##FFFFFF
##7936CB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#655C7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7936cb;
/* rgb */ color: rgb(121, 54, 203);
/* oklch */ color: oklch(50.5% 0.215 298.9);
Tailwind
colors: {
  custom: {
    50: '#a773dc',
    500: '#7936cb',
    950: '#000000',
  },
}
SCSS
$custom: #7936cb;
$custom-light: #a773dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7936cb",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 266.98,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.21486,
    "h": 298.9
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#7936CB
secondary
#B2D08D
accent
#E2469C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7936CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7936CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva