#7B35C1#7B35C1

#7B35C1 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.206 H 302.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7B35C1
RGBrgb(123, 53, 193)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 76%)
CMYKcmyk(36.3%, 72.5%, 0%, 24.3%)
CIE-LABlab(38.91, 56.00, -61.14)
CIE-LCHlch(38.91, 82.91, 312.49°)
OKLaboklab(49.84% 0.1095 -0.1743)
OKLCHoklch(49.84% 0.206 302.1)
XYZxyz(19.0648, 10.6074, 51.4848)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35C1 #7BC135
analogous
#3535C1 #7B35C1 #C135C1
triadic
#7B35C1 #C17B35 #35C17B
tetradic
#7B35C1 #C13535 #7BC135 #35C1C1
square
#7B35C1 #C13535 #7BC135 #35C1C1
split-complementary
#7B35C1 #C1C135 #35C135
monochromatic
#3E1B61 #5C2891 #7B35C1 #9A60D3 #B890E0

Accessibility & contrast

On white

6.73
#7B35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35C1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35C1#FFFFFF#000000##FFFFFF
##7B35C11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#6C5778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b35c1;
/* rgb */ color: rgb(123, 53, 193);
/* oklch */ color: oklch(49.8% 0.206 302.1);
Tailwind
colors: {
  custom: {
    50: '#a773d5',
    500: '#7b35c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b35c1;
$custom-light: #a773d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35c1",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 270,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.20583,
    "h": 302.1
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#7B35C1
secondary
#A9CB87
accent
#E04894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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