#7B2BB6#7B2BB6

#7B2BB6 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.206 H 306.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7B2BB6
RGBrgb(123, 43, 182)
HSLhsl(275, 62%, 44%)
HSVhsv(275, 76%, 71%)
CMYKcmyk(32.4%, 76.4%, 0%, 28.6%)
CIE-LABlab(36.59, 57.64, -58.45)
CIE-LCHlch(36.59, 82.09, 314.60°)
OKLaboklab(47.93% 0.121 -0.1663)
OKLCHoklch(47.93% 0.206 306)
XYZxyz(17.4739, 9.3163, 45.1246)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BB6 #66B62B
analogous
#352BB6 #7B2BB6 #B62BAC
triadic
#7B2BB6 #B67B2B #2BB67B
tetradic
#7B2BB6 #B6352B #66B62B #2BACB6
square
#7B2BB6 #B6352B #66B62B #2BACB6
split-complementary
#7B2BB6 #ACB62B #2BB635
monochromatic
#381453 #5A1F84 #7B2BB6 #9A4AD4 #B57BE0

Accessibility & contrast

On white

7.33
#7B2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7B2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BB6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BB6#FFFFFF#000000##FFFFFF
##7B2BB61.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#704E6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2bb6;
/* rgb */ color: rgb(123, 43, 182);
/* oklch */ color: oklch(47.9% 0.206 306.0);
Tailwind
colors: {
  custom: {
    50: '#a76dcd',
    500: '#7b2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bb6;
$custom-light: #a76dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bb6",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 274.532,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47934,
    "c": 0.20567,
    "h": 306
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#7B2BB6
secondary
#98C875
accent
#E54388
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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