#7935B8#7935B8

#7935B8 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.196 H 303.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7935B8
RGBrgb(121, 53, 184)
HSLhsl(271, 55%, 46%)
HSVhsv(271, 71%, 72%)
CMYKcmyk(34.2%, 71.2%, 0%, 27.8%)
CIE-LABlab(37.97, 53.47, -57.39)
CIE-LCHlch(37.97, 78.44, 312.98°)
OKLaboklab(48.9% 0.1084 -0.1633)
OKLCHoklch(48.9% 0.196 303.6)
XYZxyz(17.8080, 10.0719, 46.3440)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935B8 #74B835
analogous
#3835B8 #7935B8 #B835B6
triadic
#7935B8 #B87935 #35B879
tetradic
#7935B8 #B83835 #74B835 #35B6B8
square
#7935B8 #B83835 #74B835 #35B6B8
split-complementary
#7935B8 #B6B835 #35B838
monochromatic
#3B1A59 #5A2788 #7935B8 #975BD0 #B58ADD

Accessibility & contrast

On white

6.97
#7935B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7935B8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935B8#FFFFFF#000000##FFFFFF
##7935B81.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#6D5473
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7935b8;
/* rgb */ color: rgb(121, 53, 184);
/* oklch */ color: oklch(48.9% 0.196 303.6);
Tailwind
colors: {
  custom: {
    50: '#a572ce',
    500: '#7935b8',
    950: '#000000',
  },
}
SCSS
$custom: #7935b8;
$custom-light: #a572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7935b8",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 271.145,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48903,
    "c": 0.19601,
    "h": 303.6
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#7935B8
secondary
#A3C781
accent
#DF4991
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7935B8

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

Preview Lab → · Contrast checker → · Palette generator →

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