#7B35C6#7B35C6

#7B35C6 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.211 H 300.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7B35C6
RGBrgb(123, 53, 198)
HSLhsl(269, 58%, 49%)
HSVhsv(269, 73%, 78%)
CMYKcmyk(37.9%, 73.2%, 0%, 22.4%)
CIE-LABlab(39.30, 57.20, -63.43)
CIE-LCHlch(39.30, 85.41, 312.05°)
OKLaboklab(50.24% 0.1085 -0.181)
OKLCHoklch(50.24% 0.211 300.9)
XYZxyz(19.6320, 10.8342, 54.4721)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35C6 #80C635
analogous
#3537C6 #7B35C6 #C435C6
triadic
#7B35C6 #C67B35 #35C67B
tetradic
#7B35C6 #C63537 #80C635 #35C6C4
square
#7B35C6 #C63537 #80C635 #35C6C4
split-complementary
#7B35C6 #C6C435 #37C635
monochromatic
#3F1B65 #5D2896 #7B35C6 #9A63D5 #B993E2

Accessibility & contrast

On white

6.63
#7B35C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7B35C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35C6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35C6#FFFFFF#000000##FFFFFF
##7B35C61.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#6A597B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b35c6;
/* rgb */ color: rgb(123, 53, 198);
/* oklch */ color: oklch(50.2% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#a773d8',
    500: '#7b35c6',
    950: '#000000',
  },
}
SCSS
$custom: #7b35c6;
$custom-light: #a773d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35c6",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 268.966,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.21103,
    "h": 300.9
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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