#7935C2#7935C2

#7935C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.207 H 301.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7935C2
RGBrgb(121, 53, 194)
HSLhsl(269, 57%, 48%)
HSVhsv(269, 73%, 76%)
CMYKcmyk(37.6%, 72.7%, 0%, 23.9%)
CIE-LABlab(38.74, 55.88, -62.02)
CIE-LCHlch(38.74, 83.48, 312.02°)
OKLaboklab(49.69% 0.1065 -0.1769)
OKLCHoklch(49.69% 0.207 301.1)
XYZxyz(18.8935, 10.5061, 52.0610)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935C2 #7EC235
analogous
#3537C2 #7935C2 #BF35C2
triadic
#7935C2 #C27935 #35C279
tetradic
#7935C2 #C23537 #7EC235 #35C2BF
square
#7935C2 #C23537 #7EC235 #35C2BF
split-complementary
#7935C2 #C2BF35 #37C235
monochromatic
#3D1B62 #5B2892 #7935C2 #9860D4 #B791E1

Accessibility & contrast

On white

6.77
#7935C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7935C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935C2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935C2#FFFFFF#000000##FFFFFF
##7935C21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#695878
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7935c2;
/* rgb */ color: rgb(121, 53, 194);
/* oklch */ color: oklch(49.7% 0.207 301.1);
Tailwind
colors: {
  custom: {
    50: '#a672d5',
    500: '#7935c2',
    950: '#000000',
  },
}
SCSS
$custom: #7935c2;
$custom-light: #a672d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7935c2",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 268.936,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.20653,
    "h": 301.1
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#7935C2
secondary
#ABCC87
accent
#E04797
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7935C2

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

Preview Lab → · Contrast checker → · Palette generator →

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