#7835AD#7835AD

#7835AD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.184 H 306.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7835AD
RGBrgb(120, 53, 173)
HSLhsl(274, 53%, 44%)
HSVhsv(274, 69%, 68%)
CMYKcmyk(30.6%, 69.4%, 0%, 32.2%)
CIE-LABlab(37.03, 50.66, -52.39)
CIE-LCHlch(37.03, 72.88, 314.04°)
OKLaboklab(47.95% 0.1086 -0.1487)
OKLCHoklch(47.95% 0.184 306.2)
XYZxyz(16.5600, 9.5566, 40.4993)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835AD #6AAD35
analogous
#3C35AD #7835AD #AD35A6
triadic
#7835AD #AD7835 #35AD78
tetradic
#7835AD #AD3C35 #6AAD35 #35A6AD
square
#7835AD #AD3C35 #6AAD35 #35A6AD
split-complementary
#7835AD #A6AD35 #35AD3C
monochromatic
#37184F #58277E #7835AD #9754CB #B383D9

Accessibility & contrast

On white

7.21
#7835AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7835AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7835AD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835AD#FFFFFF#000000##FFFFFF
##7835AD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0E57AA
Tritanopia (blue-blind)
#6F506D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7835ad;
/* rgb */ color: rgb(120, 53, 173);
/* oklch */ color: oklch(48.0% 0.184 306.2);
Tailwind
colors: {
  custom: {
    50: '#a372c6',
    500: '#7835ad',
    950: '#000000',
  },
}
SCSS
$custom: #7835ad;
$custom-light: #a372c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7835ad",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 273.5,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47953,
    "c": 0.18413,
    "h": 306.2
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#7835AD
secondary
#9BC37B
accent
#DD4B8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7835AD

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

Preview Lab → · Contrast checker → · Palette generator →

#7835AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva