#7935D2#7935D2

#7935D2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.223 H 297.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7935D2
RGBrgb(121, 53, 210)
HSLhsl(266, 64%, 52%)
HSVhsv(266, 75%, 82%)
CMYKcmyk(42.4%, 74.8%, 0%, 17.6%)
CIE-LABlab(40.02, 59.78, -69.22)
CIE-LCHlch(40.02, 91.46, 310.82°)
OKLaboklab(50.99% 0.103 -0.1981)
OKLCHoklch(50.99% 0.223 297.5)
XYZxyz(20.7881, 11.2639, 62.0392)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935D2 #8ED235
analogous
#3540D2 #7935D2 #C835D2
triadic
#7935D2 #D27935 #35D279
tetradic
#7935D2 #D23540 #8ED235 #35D2C8
square
#7935D2 #D23540 #8ED235 #35D2C8
split-complementary
#7935D2 #D2C835 #40D235
monochromatic
#401A73 #5C25A5 #7935D2 #9A67DD #BB99E8

Accessibility & contrast

On white

6.46
#7935D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7935D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935D2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935D2#FFFFFF#000000##FFFFFF
##7935D21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#625F82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7935d2;
/* rgb */ color: rgb(121, 53, 210);
/* oklch */ color: oklch(51.0% 0.223 297.5);
Tailwind
colors: {
  custom: {
    50: '#a773e1',
    500: '#7935d2',
    950: '#000000',
  },
}
SCSS
$custom: #7935d2;
$custom-light: #a773e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7935d2",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 265.987,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5099,
    "c": 0.22323,
    "h": 297.5
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#7935D2
secondary
#B6D48F
accent
#E7419F
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7935D2

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

Preview Lab → · Contrast checker → · Palette generator →

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