#7B35B2#7B35B2

#7B35B2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.190 H 306.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7B35B2
RGBrgb(123, 53, 178)
HSLhsl(274, 54%, 45%)
HSVhsv(274, 70%, 70%)
CMYKcmyk(30.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(37.79, 52.46, -54.12)
CIE-LCHlch(37.79, 75.37, 314.10°)
OKLaboklab(48.69% 0.1121 -0.1536)
OKLCHoklch(48.69% 0.19 306.1)
XYZxyz(17.4756, 9.9717, 43.1149)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35B2 #6CB235
analogous
#3C35B2 #7B35B2 #B235AB
triadic
#7B35B2 #B27B35 #35B27B
tetradic
#7B35B2 #B23C35 #6CB235 #35ABB2
square
#7B35B2 #B23C35 #6CB235 #35ABB2
split-complementary
#7B35B2 #ABB235 #35B23C
monochromatic
#3A1954 #5A2783 #7B35B2 #9957CD #B686DB

Accessibility & contrast

On white

7.01
#7B35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7B35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B35B2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35B2#FFFFFF#000000##FFFFFF
##7B35B21.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0659AF
Tritanopia (blue-blind)
#715170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b35b2;
/* rgb */ color: rgb(123, 53, 178);
/* oklch */ color: oklch(48.7% 0.190 306.1);
Tailwind
colors: {
  custom: {
    50: '#a672ca',
    500: '#7b35b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b35b2;
$custom-light: #a672ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35b2",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 273.6,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.19017,
    "h": 306.1
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#7B35B2
secondary
#9DC57E
accent
#DD4A8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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