#7935AB#7935AB

#7935AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.182 H 307.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7935AB
RGBrgb(121, 53, 171)
HSLhsl(275, 53%, 44%)
HSVhsv(275, 69%, 67%)
CMYKcmyk(29.2%, 69%, 0%, 32.9%)
CIE-LABlab(37.03, 50.41, -51.21)
CIE-LCHlch(37.03, 71.86, 314.55°)
OKLaboklab(47.93% 0.1103 -0.1451)
OKLCHoklch(47.93% 0.182 307.2)
XYZxyz(16.5074, 9.5516, 39.4942)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935AB #67AB35
analogous
#3E35AB #7935AB #AB35A2
triadic
#7935AB #AB7935 #35AB79
tetradic
#7935AB #AB3E35 #67AB35 #35A2AB
square
#7935AB #AB3E35 #67AB35 #35A2AB
split-complementary
#7935AB #A2AB35 #35AB3E
monochromatic
#37184E #58277C #7935AB #9853CA #B482D8

Accessibility & contrast

On white

7.22
#7935AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7935AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7935AB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935AB#FFFFFF#000000##FFFFFF
##7935AB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#1658A8
Tritanopia (blue-blind)
#714F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7935ab;
/* rgb */ color: rgb(121, 53, 171);
/* oklch */ color: oklch(47.9% 0.182 307.2);
Tailwind
colors: {
  custom: {
    50: '#a472c5',
    500: '#7935ab',
    950: '#000000',
  },
}
SCSS
$custom: #7935ab;
$custom-light: #a472c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7935ab",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 274.576,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4793,
    "c": 0.18228,
    "h": 307.2
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#7935AB
secondary
#98C27A
accent
#DC4C89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7935AB

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

Preview Lab → · Contrast checker → · Palette generator →

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