#7935B5#7935B5

#7935B5 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.193 H 304.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7935B5
RGBrgb(121, 53, 181)
HSLhsl(272, 55%, 46%)
HSVhsv(272, 71%, 71%)
CMYKcmyk(33.1%, 70.7%, 0%, 29%)
CIE-LABlab(37.75, 52.76, -55.98)
CIE-LCHlch(37.75, 76.92, 313.30°)
OKLaboklab(48.67% 0.1089 -0.1592)
OKLCHoklch(48.67% 0.193 304.4)
XYZxyz(17.4969, 9.9474, 44.7054)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935B5 #71B535
analogous
#3935B5 #7935B5 #B535B1
triadic
#7935B5 #B57935 #35B579
tetradic
#7935B5 #B53935 #71B535 #35B1B5
square
#7935B5 #B53935 #71B535 #35B1B5
split-complementary
#7935B5 #B1B535 #35B539
monochromatic
#3A1956 #592786 #7935B5 #9759CE #B588DC

Accessibility & contrast

On white

7.02
#7935B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7935B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7935B5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935B5#FFFFFF#000000##FFFFFF
##7935B51.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7935b5;
/* rgb */ color: rgb(121, 53, 181);
/* oklch */ color: oklch(48.7% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#a572cc',
    500: '#7935b5',
    950: '#000000',
  },
}
SCSS
$custom: #7935b5;
$custom-light: #a572cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7935b5",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 271.875,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.19284,
    "h": 304.4
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7935B5

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

Preview Lab → · Contrast checker → · Palette generator →

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