#7B35BC#7B35BC

#7B35BC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.201 H 303.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7B35BC
RGBrgb(123, 53, 188)
HSLhsl(271, 56%, 47%)
HSVhsv(271, 72%, 74%)
CMYKcmyk(34.6%, 71.8%, 0%, 26.3%)
CIE-LABlab(38.53, 54.81, -58.83)
CIE-LCHlch(38.53, 80.40, 312.98°)
OKLaboklab(49.45% 0.1105 -0.1675)
OKLCHoklch(49.45% 0.201 303.4)
XYZxyz(18.5165, 10.3880, 48.5968)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35BC #76BC35
analogous
#3735BC #7B35BC #BC35BA
triadic
#7B35BC #BC7B35 #35BC7B
tetradic
#7B35BC #BC3735 #76BC35 #35BABC
square
#7B35BC #BC3735 #76BC35 #35BABC
split-complementary
#7B35BC #BABC35 #35BC37
monochromatic
#3D1A5D #5C288C #7B35BC #995DD1 #B78DDF

Accessibility & contrast

On white

6.82
#7B35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7B35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35BC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35BC#FFFFFF#000000##FFFFFF
##7B35BC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b35bc;
/* rgb */ color: rgb(123, 53, 188);
/* oklch */ color: oklch(49.5% 0.201 303.4);
Tailwind
colors: {
  custom: {
    50: '#a772d1',
    500: '#7b35bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b35bc;
$custom-light: #a772d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35bc",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 271.111,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.20062,
    "h": 303.4
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#7B35BC
secondary
#A5C984
accent
#DF4891
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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