#7835AE#7835AE

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

Color values

HEX#7835AE
RGBrgb(120, 53, 174)
HSLhsl(273, 53%, 45%)
HSVhsv(273, 70%, 68%)
CMYKcmyk(31%, 69.5%, 0%, 31.8%)
CIE-LABlab(37.11, 50.90, -52.87)
CIE-LCHlch(37.11, 73.39, 313.91°)
OKLaboklab(48.03% 0.1085 -0.1501)
OKLCHoklch(48.03% 0.185 305.9)
XYZxyz(16.6571, 9.5954, 41.0108)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835AE #6BAE35
analogous
#3B35AE #7835AE #AE35A8
triadic
#7835AE #AE7835 #35AE78
tetradic
#7835AE #AE3B35 #6BAE35 #35A8AE
square
#7835AE #AE3B35 #6BAE35 #35A8AE
split-complementary
#7835AE #A8AE35 #35AE3B
monochromatic
#371850 #58277F #7835AE #9655CB #B384DA

Accessibility & contrast

On white

7.19
#7835AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7835AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7835AE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835AE#FFFFFF#000000##FFFFFF
##7835AE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0A58AB
Tritanopia (blue-blind)
#6E506D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7835ae;
/* rgb */ color: rgb(120, 53, 174);
/* oklch */ color: oklch(48.0% 0.185 305.9);
Tailwind
colors: {
  custom: {
    50: '#a372c7',
    500: '#7835ae',
    950: '#000000',
  },
}
SCSS
$custom: #7835ae;
$custom-light: #a372c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7835ae",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 273.223,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.1852,
    "h": 305.9
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#7835AE
secondary
#9CC37C
accent
#DD4B8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7835AE

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

Preview Lab → · Contrast checker → · Palette generator →

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