#7B35AC#7B35AC

#7B35AC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.184 H 307.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7B35AC
RGBrgb(123, 53, 172)
HSLhsl(275, 53%, 44%)
HSVhsv(275, 69%, 67%)
CMYKcmyk(28.5%, 69.2%, 0%, 32.5%)
CIE-LABlab(37.36, 51.06, -51.25)
CIE-LCHlch(37.36, 72.34, 314.90°)
OKLaboklab(48.25% 0.1129 -0.1452)
OKLCHoklch(48.25% 0.184 307.9)
XYZxyz(16.8863, 9.7360, 40.0114)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35AC #66AC35
analogous
#4035AC #7B35AC #AC35A2
triadic
#7B35AC #AC7B35 #35AC7B
tetradic
#7B35AC #AC4035 #66AC35 #35A2AC
square
#7B35AC #AC4035 #66AC35 #35A2AC
split-complementary
#7B35AC #A2AC35 #35AC40
monochromatic
#38184E #5A277D #7B35AC #9A54CA #B583D9

Accessibility & contrast

On white

7.13
#7B35AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7B35AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B35AC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35AC#FFFFFF#000000##FFFFFF
##7B35AC1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#1859A9
Tritanopia (blue-blind)
#734F6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b35ac;
/* rgb */ color: rgb(123, 53, 172);
/* oklch */ color: oklch(48.3% 0.184 307.9);
Tailwind
colors: {
  custom: {
    50: '#a572c5',
    500: '#7b35ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b35ac;
$custom-light: #a572c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35ac",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 275.294,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.1839,
    "h": 307.9
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#7B35AC
secondary
#98C27B
accent
#DC4C87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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