#7B3BB2#7B3BB2

#7B3BB2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.182 H 305.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7B3BB2
RGBrgb(123, 59, 178)
HSLhsl(272, 50%, 46%)
HSVhsv(272, 67%, 70%)
CMYKcmyk(30.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(38.82, 49.60, -52.46)
CIE-LCHlch(38.82, 72.20, 313.39°)
OKLaboklab(49.43% 0.1055 -0.1488)
OKLCHoklch(49.43% 0.182 305.3)
XYZxyz(17.7665, 10.5534, 43.2119)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BB2 #72B23B
analogous
#403BB2 #7B3BB2 #B23BAE
triadic
#7B3BB2 #B27B3B #3BB27B
tetradic
#7B3BB2 #B2403B #72B23B #3BAEB2
square
#7B3BB2 #B2403B #72B23B #3BAEB2
split-complementary
#7B3BB2 #AEB23B #3BB240
monochromatic
#3B1D56 #5B2C84 #7B3BB2 #9960CA #B78EDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B3BB2#FFFFFF#000000##FFFFFF
##7B3BB21.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)
#005AB6
Deuteranopia (green-blind)
#185CAF
Tritanopia (blue-blind)
#715571
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b3bb2;
/* rgb */ color: rgb(123, 59, 178);
/* oklch */ color: oklch(49.4% 0.182 305.3);
Tailwind
colors: {
  custom: {
    50: '#a575ca',
    500: '#7b3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bb2;
$custom-light: #a575ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bb2",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 272.269,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49427,
    "c": 0.18241,
    "h": 305.3
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#7B3BB2
secondary
#A2C485
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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