#7935BD#7935BD

#7935BD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.201 H 302.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7935BD
RGBrgb(121, 53, 189)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 74%)
CMYKcmyk(36%, 72%, 0%, 25.9%)
CIE-LABlab(38.35, 54.67, -59.72)
CIE-LCHlch(38.35, 80.96, 312.47°)
OKLaboklab(49.29% 0.1075 -0.1702)
OKLCHoklch(49.29% 0.201 302.3)
XYZxyz(18.3414, 10.2852, 49.1532)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935BD #79BD35
analogous
#3535BD #7935BD #BD35BD
triadic
#7935BD #BD7935 #35BD79
tetradic
#7935BD #BD3535 #79BD35 #35BDBD
square
#7935BD #BD3535 #79BD35 #35BDBD
split-complementary
#7935BD #BDBD35 #35BD35
monochromatic
#3C1A5D #5A288D #7935BD #985DD2 #B68DDF

Accessibility & contrast

On white

6.87
#7935BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7935BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935BD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935BD#FFFFFF#000000##FFFFFF
##7935BD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#6B5676
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7935bd;
/* rgb */ color: rgb(121, 53, 189);
/* oklch */ color: oklch(49.3% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#a572d2',
    500: '#7935bd',
    950: '#000000',
  },
}
SCSS
$custom: #7935bd;
$custom-light: #a572d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7935bd",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.20127,
    "h": 302.3
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#7935BD
secondary
#A7CA84
accent
#DF4894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7935BD

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

Preview Lab → · Contrast checker → · Palette generator →

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