#7935AF#7935AF

#7935AF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.187 H 306.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7935AF
RGBrgb(121, 53, 175)
HSLhsl(273, 54%, 45%)
HSVhsv(273, 70%, 69%)
CMYKcmyk(30.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(37.31, 51.34, -53.13)
CIE-LCHlch(37.31, 73.89, 314.02°)
OKLaboklab(48.22% 0.1098 -0.1508)
OKLCHoklch(48.22% 0.187 306)
XYZxyz(16.8944, 9.7065, 41.5326)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935AF #6BAF35
analogous
#3C35AF #7935AF #AF35A8
triadic
#7935AF #AF7935 #35AF79
tetradic
#7935AF #AF3C35 #6BAF35 #35A8AF
square
#7935AF #AF3C35 #6BAF35 #35A8AF
split-complementary
#7935AF #A8AF35 #35AF3C
monochromatic
#381951 #592780 #7935AF #9756CC #B485DA

Accessibility & contrast

On white

7.14
#7935AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7935AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7935AF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935AF#FFFFFF#000000##FFFFFF
##7935AF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0A58AC
Tritanopia (blue-blind)
#70516E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7935af;
/* rgb */ color: rgb(121, 53, 175);
/* oklch */ color: oklch(48.2% 0.187 306.0);
Tailwind
colors: {
  custom: {
    50: '#a472c8',
    500: '#7935af',
    950: '#000000',
  },
}
SCSS
$custom: #7935af;
$custom-light: #a472c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7935af",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 273.443,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.18651,
    "h": 306
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#7935AF
secondary
#9CC47C
accent
#DD4B8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7935AF

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

Preview Lab → · Contrast checker → · Palette generator →

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