#7B35BA#7B35BA

#7B35BA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.199 H 303.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7B35BA
RGBrgb(123, 53, 186)
HSLhsl(272, 56%, 47%)
HSVhsv(272, 72%, 73%)
CMYKcmyk(33.9%, 71.5%, 0%, 27.1%)
CIE-LABlab(38.38, 54.34, -57.89)
CIE-LCHlch(38.38, 79.40, 313.18°)
OKLaboklab(49.3% 0.1108 -0.1647)
OKLCHoklch(49.3% 0.199 303.9)
XYZxyz(18.3024, 10.3024, 47.4692)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35BA #74BA35
analogous
#3835BA #7B35BA #BA35B7
triadic
#7B35BA #BA7B35 #35BA7B
tetradic
#7B35BA #BA3835 #74BA35 #35B7BA
square
#7B35BA #BA3835 #74BA35 #35B7BA
split-complementary
#7B35BA #B7BA35 #35BA38
monochromatic
#3C1A5B #5C278A #7B35BA #995CD0 #B78BDE

Accessibility & contrast

On white

6.86
#7B35BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7B35BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35BA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35BA#FFFFFF#000000##FFFFFF
##7B35BA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#6F5574
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b35ba;
/* rgb */ color: rgb(123, 53, 186);
/* oklch */ color: oklch(49.3% 0.199 303.9);
Tailwind
colors: {
  custom: {
    50: '#a672d0',
    500: '#7b35ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b35ba;
$custom-light: #a672d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35ba",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 271.579,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.19853,
    "h": 303.9
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#7B35BA
secondary
#A4C882
accent
#DF4990
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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