#7B35B8#7B35B8

#7B35B8 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.196 H 304.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7B35B8
RGBrgb(123, 53, 184)
HSLhsl(272, 55%, 46%)
HSVhsv(272, 71%, 72%)
CMYKcmyk(33.2%, 71.2%, 0%, 27.8%)
CIE-LABlab(38.23, 53.86, -56.96)
CIE-LCHlch(38.23, 78.39, 313.40°)
OKLaboklab(49.14% 0.1112 -0.162)
OKLCHoklch(49.14% 0.196 304.5)
XYZxyz(18.0912, 10.2179, 46.3573)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35B8 #72B835
analogous
#3A35B8 #7B35B8 #B835B4
triadic
#7B35B8 #B87B35 #35B87B
tetradic
#7B35B8 #B83A35 #72B835 #35B4B8
square
#7B35B8 #B83A35 #72B835 #35B4B8
split-complementary
#7B35B8 #B4B835 #35B83A
monochromatic
#3B1A59 #5B2788 #7B35B8 #995BD0 #B78ADD

Accessibility & contrast

On white

6.90
#7B35B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7B35B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35B8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35B8#FFFFFF#000000##FFFFFF
##7B35B81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#6F5473
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b35b8;
/* rgb */ color: rgb(123, 53, 184);
/* oklch */ color: oklch(49.1% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#a672ce',
    500: '#7b35b8',
    950: '#000000',
  },
}
SCSS
$custom: #7b35b8;
$custom-light: #a672ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35b8",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 272.061,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.19645,
    "h": 304.5
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#7B35B8
secondary
#A2C781
accent
#DF498F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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