#7B35C2#7B35C2

#7B35C2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.207 H 301.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7B35C2
RGBrgb(123, 53, 194)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 76%)
CMYKcmyk(36.6%, 72.7%, 0%, 23.9%)
CIE-LABlab(38.99, 56.24, -61.60)
CIE-LCHlch(38.99, 83.41, 312.40°)
OKLaboklab(49.92% 0.1093 -0.1756)
OKLCHoklch(49.92% 0.207 301.9)
XYZxyz(19.1767, 10.6521, 52.0742)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35C2 #7CC235
analogous
#3536C2 #7B35C2 #C135C2
triadic
#7B35C2 #C27B35 #35C27B
tetradic
#7B35C2 #C23536 #7CC235 #35C2C1
square
#7B35C2 #C23536 #7CC235 #35C2C1
split-complementary
#7B35C2 #C2C135 #36C235
monochromatic
#3E1B62 #5D2892 #7B35C2 #9A60D4 #B891E1

Accessibility & contrast

On white

6.71
#7B35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7B35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35C2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35C2#FFFFFF#000000##FFFFFF
##7B35C21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#6C5878
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b35c2;
/* rgb */ color: rgb(123, 53, 194);
/* oklch */ color: oklch(49.9% 0.207 301.9);
Tailwind
colors: {
  custom: {
    50: '#a773d5',
    500: '#7b35c2',
    950: '#000000',
  },
}
SCSS
$custom: #7b35c2;
$custom-light: #a773d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35c2",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 269.787,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.20688,
    "h": 301.9
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#7B35C2
secondary
#AACC87
accent
#E04794
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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