#7B35C7#7B35C7

#7B35C7 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.212 H 300.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7B35C7
RGBrgb(123, 53, 199)
HSLhsl(269, 58%, 49%)
HSVhsv(269, 73%, 78%)
CMYKcmyk(38.2%, 73.4%, 0%, 22%)
CIE-LABlab(39.38, 57.44, -63.88)
CIE-LCHlch(39.38, 85.91, 311.96°)
OKLaboklab(50.32% 0.1083 -0.1823)
OKLCHoklch(50.32% 0.212 300.7)
XYZxyz(19.7477, 10.8805, 55.0815)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35C7 #81C735
analogous
#3538C7 #7B35C7 #C435C7
triadic
#7B35C7 #C77B35 #35C77B
tetradic
#7B35C7 #C73538 #81C735 #35C7C4
square
#7B35C7 #C73538 #81C735 #35C7C4
split-complementary
#7B35C7 #C7C435 #38C735
monochromatic
#3F1B66 #5D2897 #7B35C7 #9A64D6 #BA94E2

Accessibility & contrast

On white

6.61
#7B35C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7B35C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35C7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35C7#FFFFFF#000000##FFFFFF
##7B35C71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#6A5A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b35c7;
/* rgb */ color: rgb(123, 53, 199);
/* oklch */ color: oklch(50.3% 0.212 300.7);
Tailwind
colors: {
  custom: {
    50: '#a873d9',
    500: '#7b35c7',
    950: '#000000',
  },
}
SCSS
$custom: #7b35c7;
$custom-light: #a873d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35c7",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 268.767,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.21207,
    "h": 300.7
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#7B35C7
secondary
#ADCE8A
accent
#E14797
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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