#7935A2#7935A2

#7935A2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.173 H 310.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7935A2
RGBrgb(121, 53, 162)
HSLhsl(277, 51%, 42%)
HSVhsv(277, 67%, 64%)
CMYKcmyk(25.3%, 67.3%, 0%, 36.5%)
CIE-LABlab(36.40, 48.33, -46.82)
CIE-LCHlch(36.40, 67.29, 315.91°)
OKLaboklab(47.29% 0.1112 -0.1323)
OKLCHoklch(47.29% 0.173 310)
XYZxyz(15.6786, 9.2201, 35.1291)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935A2 #5EA235
analogous
#4235A2 #7935A2 #A23595
triadic
#7935A2 #A27935 #35A279
tetradic
#7935A2 #A24235 #5EA235 #3595A2
square
#7935A2 #A24235 #5EA235 #3595A2
split-complementary
#7935A2 #95A235 #35A242
monochromatic
#341746 #572674 #7935A2 #994FC5 #B47DD4

Accessibility & contrast

On white

7.38
#7935A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7935A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7935A2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935A2#FFFFFF#000000##FFFFFF
##7935A21.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#2557A0
Tritanopia (blue-blind)
#734C67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7935a2;
/* rgb */ color: rgb(121, 53, 162);
/* oklch */ color: oklch(47.3% 0.173 310.0);
Tailwind
colors: {
  custom: {
    50: '#a371be',
    500: '#7935a2',
    950: '#000000',
  },
}
SCSS
$custom: #7935a2;
$custom-light: #a371be;
$custom-dark: #000000;
JSON
{
  "hex": "#7935a2",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 277.431,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.17277,
    "h": 310
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#7935A2
secondary
#90BD75
accent
#DA4E82
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7935A2

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

Preview Lab → · Contrast checker → · Palette generator →

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