#7B35C0#7B35C0

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

Color values

HEX#7B35C0
RGBrgb(123, 53, 192)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(35.9%, 72.4%, 0%, 24.7%)
CIE-LABlab(38.83, 55.76, -60.68)
CIE-LCHlch(38.83, 82.41, 312.58°)
OKLaboklab(49.76% 0.1097 -0.1729)
OKLCHoklch(49.76% 0.205 302.4)
XYZxyz(18.9536, 10.5629, 50.8993)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35C0 #7AC035
analogous
#3535C0 #7B35C0 #C035BF
triadic
#7B35C0 #C07B35 #35C07B
tetradic
#7B35C0 #C03535 #7AC035 #35BFC0
square
#7B35C0 #C03535 #7AC035 #35BFC0
split-complementary
#7B35C0 #BFC035 #35C035
monochromatic
#3E1B60 #5C2890 #7B35C0 #9A5FD3 #B88FE0

Accessibility & contrast

On white

6.75
#7B35C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7B35C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35C0
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35C0#FFFFFF#000000##FFFFFF
##7B35C01.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#6D5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b35c0;
/* rgb */ color: rgb(123, 53, 192);
/* oklch */ color: oklch(49.8% 0.205 302.4);
Tailwind
colors: {
  custom: {
    50: '#a773d4',
    500: '#7b35c0',
    950: '#000000',
  },
}
SCSS
$custom: #7b35c0;
$custom-light: #a773d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35c0",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 270.216,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49761,
    "c": 0.20479,
    "h": 302.4
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#7B35C0
secondary
#A8CB86
accent
#E04893
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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