#7935BC#7935BC

#7935BC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.200 H 302.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7935BC
RGBrgb(121, 53, 188)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 74%)
CMYKcmyk(35.6%, 71.8%, 0%, 26.3%)
CIE-LABlab(38.27, 54.43, -59.25)
CIE-LCHlch(38.27, 80.46, 312.57°)
OKLaboklab(49.21% 0.1077 -0.1688)
OKLCHoklch(49.21% 0.2 302.5)
XYZxyz(18.2332, 10.2420, 48.5835)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935BC #78BC35
analogous
#3535BC #7935BC #BC35BC
triadic
#7935BC #BC7935 #35BC79
tetradic
#7935BC #BC3535 #78BC35 #35BCBC
square
#7935BC #BC3535 #78BC35 #35BCBC
split-complementary
#7935BC #BCBC35 #35BC35
monochromatic
#3C1A5D #5A288C #7935BC #985DD1 #B68DDF

Accessibility & contrast

On white

6.89
#7935BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7935BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935BC#FFFFFF#000000##FFFFFF
##7935BC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#6B5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7935bc;
/* rgb */ color: rgb(121, 53, 188);
/* oklch */ color: oklch(49.2% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#a572d1',
    500: '#7935bc',
    950: '#000000',
  },
}
SCSS
$custom: #7935bc;
$custom-light: #a572d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7935bc",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 270.222,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.20022,
    "h": 302.5
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#7935BC
secondary
#A6C984
accent
#DF4893
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7935BC

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

Preview Lab → · Contrast checker → · Palette generator →

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