#7B35AA#7B35AA

#7B35AA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.182 H 308.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7B35AA
RGBrgb(123, 53, 170)
HSLhsl(276, 52%, 44%)
HSVhsv(276, 69%, 67%)
CMYKcmyk(27.6%, 68.8%, 0%, 33.3%)
CIE-LABlab(37.22, 50.61, -50.28)
CIE-LCHlch(37.22, 71.34, 315.19°)
OKLaboklab(48.11% 0.1131 -0.1423)
OKLCHoklch(48.11% 0.182 308.5)
XYZxyz(16.6957, 9.6597, 39.0074)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35AA #64AA35
analogous
#4035AA #7B35AA #AA359E
triadic
#7B35AA #AA7B35 #35AA7B
tetradic
#7B35AA #AA4035 #64AA35 #359EAA
square
#7B35AA #AA4035 #64AA35 #359EAA
split-complementary
#7B35AA #9EAA35 #35AA40
monochromatic
#37184D #59267B #7B35AA #9A53C9 #B582D8

Accessibility & contrast

On white

7.16
#7B35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7B35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B35AA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35AA#FFFFFF#000000##FFFFFF
##7B35AA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1C58A7
Tritanopia (blue-blind)
#744E6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b35aa;
/* rgb */ color: rgb(123, 53, 170);
/* oklch */ color: oklch(48.1% 0.182 308.5);
Tailwind
colors: {
  custom: {
    50: '#a572c4',
    500: '#7b35aa',
    950: '#000000',
  },
}
SCSS
$custom: #7b35aa;
$custom-light: #a572c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35aa",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 275.897,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.1818,
    "h": 308.5
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#7B35AA
secondary
#96C17A
accent
#DC4C86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B35AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7B35AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva