#7B2EB0#7B2EB0

#7B2EB0 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.196 H 307.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7B2EB0
RGBrgb(123, 46, 176)
HSLhsl(276, 59%, 44%)
HSVhsv(276, 74%, 69%)
CMYKcmyk(30.1%, 73.9%, 0%, 31%)
CIE-LABlab(36.56, 55.07, -54.94)
CIE-LCHlch(36.56, 77.79, 315.07°)
OKLaboklab(47.77% 0.1195 -0.156)
OKLCHoklch(47.77% 0.196 307.4)
XYZxyz(16.9802, 9.2998, 41.9664)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2EB0 #63B02E
analogous
#3A2EB0 #7B2EB0 #B02EA4
triadic
#7B2EB0 #B07B2E #2EB07B
tetradic
#7B2EB0 #B03A2E #63B02E #2EA4B0
square
#7B2EB0 #B03A2E #63B02E #2EA4B0
split-complementary
#7B2EB0 #A4B02E #2EB03A
monochromatic
#37154F #59217F #7B2EB0 #9A4BD0 #B57CDD

Accessibility & contrast

On white

7.34
#7B2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2EB0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2EB0#FFFFFF#000000##FFFFFF
##7B2EB01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#724D6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2eb0;
/* rgb */ color: rgb(123, 46, 176);
/* oklch */ color: oklch(47.8% 0.196 307.4);
Tailwind
colors: {
  custom: {
    50: '#a66ec8',
    500: '#7b2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2eb0;
$custom-light: #a66ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2eb0",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 275.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.19649,
    "h": 307.4
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#7B2EB0
secondary
#95C575
accent
#E24686
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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