#7B35BB#7B35BB

#7B35BB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.4% C 0.200 H 303.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7B35BB
RGBrgb(123, 53, 187)
HSLhsl(271, 56%, 47%)
HSVhsv(271, 72%, 73%)
CMYKcmyk(34.2%, 71.7%, 0%, 26.7%)
CIE-LABlab(38.45, 54.57, -58.36)
CIE-LCHlch(38.45, 79.90, 313.08°)
OKLaboklab(49.37% 0.1106 -0.1661)
OKLCHoklch(49.37% 0.2 303.7)
XYZxyz(18.4090, 10.3450, 48.0310)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35BB #75BB35
analogous
#3835BB #7B35BB #BB35B8
triadic
#7B35BB #BB7B35 #35BB7B
tetradic
#7B35BB #BB3835 #75BB35 #35B8BB
square
#7B35BB #BB3835 #75BB35 #35B8BB
split-complementary
#7B35BB #B8BB35 #35BB38
monochromatic
#3C1A5C #5C278B #7B35BB #995CD1 #B78CDE

Accessibility & contrast

On white

6.84
#7B35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7B35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35BB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35BB#FFFFFF#000000##FFFFFF
##7B35BB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#6E5575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b35bb;
/* rgb */ color: rgb(123, 53, 187);
/* oklch */ color: oklch(49.4% 0.200 303.7);
Tailwind
colors: {
  custom: {
    50: '#a672d0',
    500: '#7b35bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b35bb;
$custom-light: #a672d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35bb",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 271.343,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.19958,
    "h": 303.7
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#7B35BB
secondary
#A4C983
accent
#DF4991
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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