#7935B7#7935B7

#7935B7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.195 H 303.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7935B7
RGBrgb(121, 53, 183)
HSLhsl(271, 55%, 46%)
HSVhsv(271, 71%, 72%)
CMYKcmyk(33.9%, 71%, 0%, 28.2%)
CIE-LABlab(37.90, 53.23, -56.92)
CIE-LCHlch(37.90, 77.94, 313.08°)
OKLaboklab(48.83% 0.1085 -0.1619)
OKLCHoklch(48.83% 0.195 303.8)
XYZxyz(17.7035, 10.0301, 45.7939)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935B7 #73B735
analogous
#3835B7 #7935B7 #B735B4
triadic
#7935B7 #B77935 #35B779
tetradic
#7935B7 #B73835 #73B735 #35B4B7
square
#7935B7 #B73835 #73B735 #35B4B7
split-complementary
#7935B7 #B4B735 #35B738
monochromatic
#3A1A58 #5A2788 #7935B7 #975ACF #B589DD

Accessibility & contrast

On white

6.99
#7935B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7935B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935B7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935B7#FFFFFF#000000##FFFFFF
##7935B71.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#6D5472
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7935b7;
/* rgb */ color: rgb(121, 53, 183);
/* oklch */ color: oklch(48.8% 0.195 303.8);
Tailwind
colors: {
  custom: {
    50: '#a572cd',
    500: '#7935b7',
    950: '#000000',
  },
}
SCSS
$custom: #7935b7;
$custom-light: #a572cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7935b7",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 271.385,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.19495,
    "h": 303.8
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#7935B7
secondary
#A2C781
accent
#DE4990
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7935B7

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

Preview Lab → · Contrast checker → · Palette generator →

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