#7935BA#7935BA

#7935BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.198 H 303.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7935BA
RGBrgb(121, 53, 186)
HSLhsl(271, 56%, 47%)
HSVhsv(271, 72%, 73%)
CMYKcmyk(34.9%, 71.5%, 0%, 27.1%)
CIE-LABlab(38.12, 53.95, -58.32)
CIE-LCHlch(38.12, 79.45, 312.77°)
OKLaboklab(49.06% 0.108 -0.1661)
OKLCHoklch(49.06% 0.198 303)
XYZxyz(18.0191, 10.1563, 47.4559)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935BA #76BA35
analogous
#3735BA #7935BA #BA35B9
triadic
#7935BA #BA7935 #35BA79
tetradic
#7935BA #BA3735 #76BA35 #35B9BA
square
#7935BA #BA3735 #76BA35 #35B9BA
split-complementary
#7935BA #B9BA35 #35BA37
monochromatic
#3B1A5B #5A278A #7935BA #975CD0 #B68BDE

Accessibility & contrast

On white

6.93
#7935BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7935BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935BA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935BA#FFFFFF#000000##FFFFFF
##7935BA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6C5574
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7935ba;
/* rgb */ color: rgb(121, 53, 186);
/* oklch */ color: oklch(49.1% 0.198 303.0);
Tailwind
colors: {
  custom: {
    50: '#a572d0',
    500: '#7935ba',
    950: '#000000',
  },
}
SCSS
$custom: #7935ba;
$custom-light: #a572d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7935ba",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 270.677,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.19812,
    "h": 303
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#7935BA
secondary
#A5C882
accent
#DF4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7935BA

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

Preview Lab → · Contrast checker → · Palette generator →

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