#7835AC#7835AC

#7835AC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.183 H 306.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7835AC
RGBrgb(120, 53, 172)
HSLhsl(274, 53%, 44%)
HSVhsv(274, 69%, 67%)
CMYKcmyk(30.2%, 69.2%, 0%, 32.5%)
CIE-LABlab(36.96, 50.43, -51.91)
CIE-LCHlch(36.96, 72.38, 314.17°)
OKLaboklab(47.88% 0.1088 -0.1473)
OKLCHoklch(47.88% 0.183 306.5)
XYZxyz(16.4636, 9.5180, 39.9916)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835AC #69AC35
analogous
#3D35AC #7835AC #AC35A5
triadic
#7835AC #AC7835 #35AC78
tetradic
#7835AC #AC3D35 #69AC35 #35A5AC
square
#7835AC #AC3D35 #69AC35 #35A5AC
split-complementary
#7835AC #A5AC35 #35AC3D
monochromatic
#37184E #57277D #7835AC #9754CA #B383D9

Accessibility & contrast

On white

7.23
#7835AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7835AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7835AC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835AC#FFFFFF#000000##FFFFFF
##7835AC1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#1157A9
Tritanopia (blue-blind)
#6F506C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7835ac;
/* rgb */ color: rgb(120, 53, 172);
/* oklch */ color: oklch(47.9% 0.183 306.5);
Tailwind
colors: {
  custom: {
    50: '#a371c5',
    500: '#7835ac',
    950: '#000000',
  },
}
SCSS
$custom: #7835ac;
$custom-light: #a371c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7835ac",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 273.782,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4788,
    "c": 0.18307,
    "h": 306.5
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#7835AC
secondary
#9AC27B
accent
#DC4C8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7835AC

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

Preview Lab → · Contrast checker → · Palette generator →

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