#7935C5#7935C5

#7935C5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.210 H 300.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7935C5
RGBrgb(121, 53, 197)
HSLhsl(268, 58%, 49%)
HSVhsv(268, 73%, 77%)
CMYKcmyk(38.6%, 73.1%, 0%, 22.7%)
CIE-LABlab(38.97, 56.60, -63.39)
CIE-LCHlch(38.97, 84.98, 311.76°)
OKLaboklab(49.92% 0.1059 -0.1809)
OKLCHoklch(49.92% 0.21 300.3)
XYZxyz(19.2338, 10.6422, 53.8533)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935C5 #81C535
analogous
#3539C5 #7935C5 #C135C5
triadic
#7935C5 #C57935 #35C579
tetradic
#7935C5 #C53539 #81C535 #35C5C1
square
#7935C5 #C53539 #81C535 #35C5C1
split-complementary
#7935C5 #C5C135 #39C535
monochromatic
#3E1B65 #5B2895 #7935C5 #9862D5 #B893E2

Accessibility & contrast

On white

6.71
#7935C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7935C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935C5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935C5#FFFFFF#000000##FFFFFF
##7935C51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#68597A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7935c5;
/* rgb */ color: rgb(121, 53, 197);
/* oklch */ color: oklch(49.9% 0.210 300.3);
Tailwind
colors: {
  custom: {
    50: '#a673d8',
    500: '#7935c5',
    950: '#000000',
  },
}
SCSS
$custom: #7935c5;
$custom-light: #a673d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7935c5",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 268.333,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.20967,
    "h": 300.3
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#7935C5
secondary
#ADCD89
accent
#E14798
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7935C5

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

Preview Lab → · Contrast checker → · Palette generator →

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