#7935B4#7935B4

#7935B4 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.192 H 304.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7935B4
RGBrgb(121, 53, 180)
HSLhsl(272, 55%, 46%)
HSVhsv(272, 71%, 71%)
CMYKcmyk(32.8%, 70.6%, 0%, 29.4%)
CIE-LABlab(37.67, 52.52, -55.51)
CIE-LCHlch(37.67, 76.42, 313.42°)
OKLaboklab(48.6% 0.109 -0.1578)
OKLCHoklch(48.6% 0.192 304.6)
XYZxyz(17.3946, 9.9065, 44.1669)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935B4 #70B435
analogous
#3A35B4 #7935B4 #B435AF
triadic
#7935B4 #B47935 #35B479
tetradic
#7935B4 #B43A35 #70B435 #35AFB4
square
#7935B4 #B43A35 #70B435 #35AFB4
split-complementary
#7935B4 #AFB435 #35B43A
monochromatic
#391955 #592785 #7935B4 #9758CE #B588DC

Accessibility & contrast

On white

7.04
#7935B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7935B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7935B4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935B4#FFFFFF#000000##FFFFFF
##7935B41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#6E5371
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7935b4;
/* rgb */ color: rgb(121, 53, 180);
/* oklch */ color: oklch(48.6% 0.192 304.6);
Tailwind
colors: {
  custom: {
    50: '#a572cb',
    500: '#7935b4',
    950: '#000000',
  },
}
SCSS
$custom: #7935b4;
$custom-light: #a572cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7935b4",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 272.126,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.19179,
    "h": 304.6
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#7935B4
secondary
#A0C67F
accent
#DE4A8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7935B4

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

Preview Lab → · Contrast checker → · Palette generator →

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