#7935B9#7935B9

#7935B9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.197 H 303.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7935B9
RGBrgb(121, 53, 185)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(34.6%, 71.4%, 0%, 27.5%)
CIE-LABlab(38.05, 53.71, -57.86)
CIE-LCHlch(38.05, 78.95, 312.87°)
OKLaboklab(48.98% 0.1082 -0.1647)
OKLCHoklch(48.98% 0.197 303.3)
XYZxyz(17.9132, 10.1139, 46.8980)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935B9 #75B935
analogous
#3735B9 #7935B9 #B935B7
triadic
#7935B9 #B97935 #35B979
tetradic
#7935B9 #B93735 #75B935 #35B7B9
square
#7935B9 #B93735 #75B935 #35B7B9
split-complementary
#7935B9 #B7B935 #35B937
monochromatic
#3B1A5A #5A2789 #7935B9 #975BD0 #B58BDE

Accessibility & contrast

On white

6.95
#7935B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7935B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935B9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935B9#FFFFFF#000000##FFFFFF
##7935B91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#6C5573
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7935b9;
/* rgb */ color: rgb(121, 53, 185);
/* oklch */ color: oklch(49.0% 0.197 303.3);
Tailwind
colors: {
  custom: {
    50: '#a572cf',
    500: '#7935b9',
    950: '#000000',
  },
}
SCSS
$custom: #7935b9;
$custom-light: #a572cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7935b9",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 270.909,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.19706,
    "h": 303.3
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#7935B9
secondary
#A4C882
accent
#DF4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7935B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7935B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva