#7835AB#7835AB

#7835AB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.182 H 306.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7835AB
RGBrgb(120, 53, 171)
HSLhsl(274, 53%, 44%)
HSVhsv(274, 69%, 67%)
CMYKcmyk(29.8%, 69%, 0%, 32.9%)
CIE-LABlab(36.89, 50.19, -51.43)
CIE-LCHlch(36.89, 71.87, 314.30°)
OKLaboklab(47.81% 0.1089 -0.1458)
OKLCHoklch(47.81% 0.182 306.7)
XYZxyz(16.3679, 9.4797, 39.4877)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835AB #68AB35
analogous
#3D35AB #7835AB #AB35A3
triadic
#7835AB #AB7835 #35AB78
tetradic
#7835AB #AB3D35 #68AB35 #35A3AB
square
#7835AB #AB3D35 #68AB35 #35A3AB
split-complementary
#7835AB #A3AB35 #35AB3D
monochromatic
#36184E #57277C #7835AB #9753CA #B382D8

Accessibility & contrast

On white

7.25
#7835AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7835AB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835AB#FFFFFF#000000##FFFFFF
##7835AB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#1457A8
Tritanopia (blue-blind)
#6F4F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7835ab;
/* rgb */ color: rgb(120, 53, 171);
/* oklch */ color: oklch(47.8% 0.182 306.7);
Tailwind
colors: {
  custom: {
    50: '#a371c5',
    500: '#7835ab',
    950: '#000000',
  },
}
SCSS
$custom: #7835ab;
$custom-light: #a371c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7835ab",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 274.068,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.18201,
    "h": 306.7
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#7835AB
secondary
#99C27A
accent
#DC4C8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7835AB

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

Preview Lab → · Contrast checker → · Palette generator →

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