#7835B7#7835B7

#7835B7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.195 H 303.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7835B7
RGBrgb(120, 53, 183)
HSLhsl(271, 55%, 46%)
HSVhsv(271, 71%, 72%)
CMYKcmyk(34.4%, 71%, 0%, 28.2%)
CIE-LABlab(37.77, 53.04, -57.14)
CIE-LCHlch(37.77, 77.96, 312.87°)
OKLaboklab(48.71% 0.1072 -0.1626)
OKLCHoklch(48.71% 0.195 303.4)
XYZxyz(17.5641, 9.9582, 45.7874)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835B7 #74B735
analogous
#3735B7 #7835B7 #B735B5
triadic
#7835B7 #B77835 #35B778
tetradic
#7835B7 #B73735 #74B735 #35B5B7
square
#7835B7 #B73735 #74B735 #35B5B7
split-complementary
#7835B7 #B5B735 #35B737
monochromatic
#3A1A58 #592788 #7835B7 #965ACF #B489DD

Accessibility & contrast

On white

7.02
#7835B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7835B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7835B7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835B7#FFFFFF#000000##FFFFFF
##7835B71.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#6B5472
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7835b7;
/* rgb */ color: rgb(120, 53, 183);
/* oklch */ color: oklch(48.7% 0.195 303.4);
Tailwind
colors: {
  custom: {
    50: '#a472cd',
    500: '#7835b7',
    950: '#000000',
  },
}
SCSS
$custom: #7835b7;
$custom-light: #a472cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7835b7",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 270.923,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.19474,
    "h": 303.4
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#7835B7
secondary
#A3C781
accent
#DE4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7835B7

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

Preview Lab → · Contrast checker → · Palette generator →

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